Skip to content

Commit 8288f78

Browse files
committed
Mingw and Mingw64: #include stdint.h for int64_t etc
1 parent 68f0f1d commit 8288f78

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

_ptw32.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@
162162
# include "need_errno.h"
163163
#endif
164164

165-
#if defined(__MINGW64_VERSION_MAJOR) || defined(__BORLANDC__)
165+
#if defined(__BORLANDC__)
166166
# define int64_t LONGLONG
167167
# define uint64_t ULONGLONG
168168
#elif !defined(__MINGW32__)
@@ -171,6 +171,8 @@
171171
# if defined(PTW32_CONFIG_MSVC6)
172172
typedef long intptr_t;
173173
# endif
174+
#else
175+
# include <stdint.h>
174176
#endif
175177

176178
/*

0 commit comments

Comments
 (0)