Skip to content

Commit 9f4f2c6

Browse files
committed
u_int8_t, etc are non-standard, so define on all platforms
1 parent 9024a93 commit 9f4f2c6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

include/types-compat.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,12 @@
1313
#ifdef _WIN32
1414
/* Not sure what to do about __pure2 on windows */
1515
#define __pure2
16+
#endif
17+
1618
typedef uint8_t u_int8_t;
1719
typedef uint16_t u_int16_t;
1820
typedef uint32_t u_int32_t;
1921
typedef uint64_t u_int64_t;
20-
#endif
2122

2223

2324
#endif

0 commit comments

Comments
 (0)