00001 #if !defined(INTEGER_TYPES_H)
00002 #define INTEGER_TYPES_H
00003
00004
00005
00006
00007
00008
00009 #ifdef WIN32
00010 typedef unsigned short UINT16;
00011 typedef unsigned int UINT32;
00012 typedef unsigned __int64 UINT64;
00013 #define UINT64_format "%llu"
00014 #define UINT64_formatf(w) "%" #w "llu"
00015 #define UINT64_C(c) c ## ULL
00016 #define PATH_SEPARATOR '\\'
00017 typedef struct F_HANDLE F_HANDLE;
00018 #else
00019 #include <inttypes.h>
00020 typedef uint16_t UINT16;
00021 typedef uint32_t UINT32;
00022 typedef uint64_t UINT64;
00023 #define UINT64_format "%" PRIu64
00024 #define UINT64_formatf(w) "%" #w PRIu64
00025 #define PATH_SEPARATOR '/'
00026 #define F_HANDLE FILE
00027 #endif
00028
00029
00030 #endif