Skip to content

Commit

Permalink
Remove superfluous checks. If your compiler doesn't have (u)int32_t, …
Browse files Browse the repository at this point in the history
…then it's too old.
  • Loading branch information
derickr committed Aug 20, 2024
1 parent 2748032 commit f7aca63
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions timelib.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,22 +39,6 @@
#include <limits.h>
#include <inttypes.h>

# ifndef HAVE_INT32_T
# if SIZEOF_INT == 4
typedef int int32_t;
# elif SIZEOF_LONG == 4
typedef long int int32_t;
# endif
# endif

# ifndef HAVE_UINT32_T
# if SIZEOF_INT == 4
typedef unsigned int uint32_t;
# elif SIZEOF_LONG == 4
typedef unsigned long int uint32_t;
# endif
# endif

#ifdef _WIN32
# if _MSC_VER >= 1600
# include <stdint.h>
Expand Down

0 comments on commit f7aca63

Please sign in to comment.