00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027 #ifndef __NEBASETYPES_H
00028 #define __NEBASETYPES_H
00029
00030
00037 #if defined( WIN32 )
00038
00039 # if defined( _MSC_VER )
00040
00041
00042
00043 typedef unsigned __int64 uint64_t;
00044 typedef __int64 int64_t;
00045
00046 typedef unsigned int uint32_t;
00047 typedef int int32_t;
00048
00049 typedef unsigned short uint16_t;
00050 typedef short int16_t;
00051
00052 typedef unsigned char uint8_t;
00053 typedef char int8_t;
00054
00055 # elif defined( __MINGW32__ )
00056
00057
00058
00059 # include <stdint.h>
00060
00061 # else
00062 # error "Unsupported Win32 environment"
00063 # endif
00064
00065 #endif // WIN32
00066
00067
00068 #if defined( POSIX )
00069
00070 # if defined( LINUX )
00071
00072 # include <stdint.h>
00073
00074 # elif defined(FREEBSD)
00075
00076 # include <sys/stdint.h>
00077
00078 # else
00079 # error "Unsupported POSIX target"
00080 # endif
00081
00082 #endif
00083
00084
00085 #if defined( __APPLE__ )
00086
00087
00088
00089 # include <stdint.h>
00090
00091 #endif // __APPLE__
00092
00093
00094 #endif
00095