Fixing MSVC build by adding appropriate typedefs for uint16_t

This commit is contained in:
Jan Margeta
2013-03-02 15:39:20 +01:00
parent 1c60342edc
commit d6d177fec5
+5
View File
@@ -12,6 +12,11 @@
#include <stdint.h>
#elif defined(_MSC_VER)
#define inline __inline
#if (_MSC_VER < 1300)
typedef unsigned short uint16_t;
#else
typedef unsigned __int16 uint16_t;
#endif
#endif
/**