* (bug 2977) use MSVC compatiable pre-processors and also include <io.h> for

int types
This commit is contained in:
Tony J. White = 2007-01-19 19:31:19 +00:00
parent c586def044
commit cf2875e771

View file

@ -114,9 +114,10 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#ifdef Q3_VM
typedef int intptr_t;
#else
# ifndef _MSC_VER
# include <stdint.h>
# else
#ifndef _MSC_VER
#include <stdint.h>
#else
#include <io.h>
typedef __int64 int64_t;
typedef __int32 int32_t;
typedef __int16 int16_t;
@ -125,7 +126,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
typedef unsigned __int32 uint32_t;
typedef unsigned __int16 uint16_t;
typedef unsigned __int8 uint8_t;
# endif
#endif
#endif
typedef unsigned char byte;