[8620] Use platform independent by size types in extractor typedefs.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>

Also use in same way size fixed types in windows case.
This commit is contained in:
Lynx3d 2009-10-10 20:14:55 +04:00 committed by VladimirMangos
parent 61e0bf532d
commit 1fdf473bd8
3 changed files with 15 additions and 13 deletions

Binary file not shown.

View file

@ -3,26 +3,28 @@
#ifdef WIN32
typedef __int64 int64;
typedef long int32;
typedef short int16;
typedef char int8;
typedef __int32 int32;
typedef __int16 int16;
typedef __int8 int8;
typedef unsigned __int64 uint64;
typedef unsigned long uint32;
typedef unsigned short uint16;
typedef unsigned char uint8;
typedef unsigned __int32 uint32;
typedef unsigned __int16 uint16;
typedef unsigned __int8 uint8;
#else
#include <stdint.h>
#ifndef uint64_t
#ifdef __linux__
#include <linux/types.h>
#endif
#endif
typedef int64_t int64;
typedef long int32;
typedef short int16;
typedef char int8;
typedef int32_t int32;
typedef int16_t int16;
typedef int8_t int8;
typedef uint64_t uint64;
typedef unsigned long uint32;
typedef unsigned short uint16;
typedef unsigned char uint8;
typedef uint32_t uint32;
typedef uint16_t uint16;
typedef uint8_t uint8;
#endif
#define FILE_FORMAT_VERSION 18

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "8619"
#define REVISION_NR "8620"
#endif // __REVISION_NR_H__