00001
00006 #ifndef P6PLATFORM_H__
00007 #define P6PLATFORM_H__ 1
00008
00009 #define P6COMPILE_TIME_ASSERT(name,x) typedef int P6_CTA_ ## name__[(x) ? 1:-1];
00010 #define P6SIZEOF_SHORT 2
00011 #define P6SIZEOF_INT 4
00012 #define P6SIZEOF_LONG 4
00013 #define P6SIZEOF_LONGLONG 8
00014 #define P6SIZEOF_FLOAT 4
00015 #define P6SIZEOF_DOUBLE 8
00016 #define P6SIZEOF_SIZET 4
00017 #define P6SIZEOF_WCHAR 2
00018 typedef __int64 P6LONGLONG;
00019 typedef unsigned __int64 P6ULONGLONG;
00020 #define P6PRINTF64 "I64"
00021 #define P6MAX_HOSTNAME 1025
00022
00023 #endif