Assuming, just because it is MSVC, that the standard integers are not defined, is not correct. Need to test for define _STDINT as well as later versions of MSVC (>= VS2010) do have stdint.h

This commit is contained in:
Robert Jongbloed
2012-09-27 10:15:24 +10:00
parent 9d2aa0cd4c
commit cf0f483aab
8 changed files with 11 additions and 27 deletions
+1 -1
View File
@@ -88,7 +88,7 @@ SWITCH_BEGIN_EXTERN_C
#endif
#undef inline
#define inline __inline
#ifndef uint32_t
#if !defined(_STDINT) && !defined(uint32_t)
typedef unsigned __int8 uint8_t;
typedef unsigned __int16 uint16_t;
typedef unsigned __int32 uint32_t;