00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00026 #ifndef __PICINFO_CSTDINT_HEADER_INCLUDED__
00027 #define __PICINFO_CSTDINT_HEADER_INCLUDED__
00028
00029 #ifdef HAVE_CONFIG_H
00030
00031
00032 #include "config.h"
00033 #endif
00034
00035 #ifdef HAVE_STDINT_H
00036 #include <stdint.h>
00037 #endif
00038
00039 namespace picinfo
00040 {
00041 #ifdef HAVE_STDINT_H
00042
00043 using ::uint8_t ;
00044 using ::uint16_t ;
00045 using ::uint32_t ;
00046 using ::uint64_t ;
00047
00048 using ::int8_t ;
00049 using ::int16_t ;
00050 using ::int32_t ;
00051 using ::int64_t ;
00052 #elif defined WIN32
00053 typedef unsigned __int8 uint8_t ;
00054 typedef unsigned __int16 uint16_t ;
00055 typedef unsigned __int32 uint32_t ;
00056 typedef unsigned __int64 uint64_t ;
00057
00058 typedef signed __int8 int8_t ;
00059 typedef signed __int16 int16_t ;
00060 typedef signed __int32 int32_t ;
00061 typedef signed __int64 int64_t ;
00062 #else
00063 #error cannot define sized intgers
00064 #endif
00065 }
00066
00067 #endif