Win32 build fixes

This commit is contained in:
Chris Cannam
2013-05-15 10:35:18 +01:00
parent 3ed839f702
commit 8bbf6b8c0a

View File

@@ -52,10 +52,11 @@
#define getpid _getpid #define getpid _getpid
#endif #endif
#ifdef __MSVC__ #if defined(__MSVC__) && _MSC_VER < 1700
#define uint8_t unsigned __int8 #define uint8_t unsigned __int8
#define uint16_t unsigned __int16 #define uint16_t unsigned __int16
#define uint32_t unsigned __int32 #define uint32_t unsigned __int32
#elif defined(__MSVC__)
#define ssize_t long #define ssize_t long
#else #else
#include <stdint.h> #include <stdint.h>