Fixed internal additional typedefs

This commit is contained in:
Ianos Gnatiuc
2005-10-18 03:49:35 +00:00
parent 732be01903
commit 0e5a6c06b7
3 changed files with 68 additions and 57 deletions

View File

@@ -3,33 +3,34 @@
#ifndef __TYPEDEFS_H__
#define __TYPEDEFS_H__
#ifndef __goldall_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;
typedef signed char int8_t;
typedef unsigned char uint8_t;
typedef signed short int16_t;
typedef unsigned short uint16_t;
typedef signed long int32_t;
typedef unsigned long uint32_t;
#else
#include <stdint.h>
#endif
#endif //#ifdef _MSC_VER
typedef unsigned char bit;
typedef uint8_t bit;
typedef uint8_t byte;
typedef int8_t sbyte;
typedef uint8_t byte;
typedef int8_t sbyte;
typedef int16_t sword;
typedef uint16_t word;
typedef int16_t sshort;
typedef uint16_t ushort;
typedef uint16_t word;
typedef int16_t sword;
typedef int32_t sdword;
typedef uint32_t dword;
typedef uint32_t dword;
typedef int32_t sdword;
#endif //#ifndef __goldall_h
typedef uint16_t ushort;
typedef int16_t sshort;
#endif
#endif //#ifndef __TYPEDEFS_H__