fix MS Visual C build after 64-bit support patch

This commit is contained in:
Stas Degteff
2005-10-09 21:09:37 +00:00
parent 4415374ddb
commit 890937100d
5 changed files with 67 additions and 13 deletions

View File

@@ -3,7 +3,19 @@
#ifndef __TYPEDEFS_H__
#define __TYPEDEFS_H__
#ifdef _MSC_VER
#include <windows.h>
typedef UCHAR uint8_t;
typedef signed char int8_t;
typedef WORD uint16_t;
typedef short int16_t;
typedef INT int32_t;
typedef UINT uint32_t;
#else
#include <stdint.h>
#endif
typedef unsigned bit;