00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 #ifndef S_STDINT_H
00017 #define S_STDINT_H
00018
00019
00020
00021 #ifdef WIN32
00022
00023 #if _MSC_VER > 1000
00024 #pragma once
00025 #endif
00026
00027 #include <limits.h>
00028 #include <wchar.h>
00029
00030 typedef __int8 int8_t;
00031 typedef __int16 int16_t;
00032 typedef __int32 int32_t;
00033 typedef __int64 int64_t;
00034 typedef unsigned __int8 uint8_t;
00035 typedef unsigned __int16 uint16_t;
00036 typedef unsigned __int32 uint32_t;
00037 typedef unsigned __int64 uint64_t;
00038
00039 #endif
00040
00041 #ifdef Lynx
00042
00043 typedef char int8_t;
00044 typedef unsigned char uint8_t;
00045 typedef short int16_t;
00046 typedef unsigned short uint16_t;
00047 typedef int int32_t;
00048 typedef unsigned int uint32_t;
00049 typedef long int64_t;
00050 typedef unsigned long uint64_t;
00051
00052 #endif
00053
00054 #ifdef Linux
00055 #include <stdint.h>
00056 #endif
00057
00058 #ifdef Solaris
00059 #include <stdint.h>
00060 #endif
00061
00062
00063 #endif
00064
00065