Skip to content

Commit 086ab05

Browse files
committed
Merge pull request #101 from pijyoi/master
make code compile under mingw32
2 parents f5c3cb3 + 07614b4 commit 086ab05

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

include/czmq_prelude.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -398,11 +398,13 @@ typedef unsigned int qbyte; // Quad byte = 32 bits
398398
# define vsnprintf _vsnprintf
399399
typedef unsigned long ulong;
400400
typedef unsigned int uint;
401+
# if (!defined (__MINGW32__))
401402
typedef __int32 int32_t;
402403
typedef __int64 int64_t;
403404
typedef unsigned __int32 uint32_t;
404405
typedef unsigned __int64 uint64_t;
405406
typedef long ssize_t;
407+
# endif
406408
#elif (defined (__APPLE__))
407409
typedef unsigned long ulong;
408410
typedef unsigned int uint;

0 commit comments

Comments
 (0)