ltkcpp_platform.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00026
00027
00028
00029
00030
00031 #include <list>
00032 #include <string.h>
00033
00034 #define FALSE 0
00035 #define TRUE 1
00036
00037 namespace LLRP
00038 {
00039
00040
00041
00042
00043
00044
00045
00046
00047
00048 #ifdef linux
00049 #include <stdint.h>
00051 typedef uint8_t llrp_u8_t;
00053 typedef int8_t llrp_s8_t;
00055 typedef uint16_t llrp_u16_t;
00057 typedef int16_t llrp_s16_t;
00059 typedef uint32_t llrp_u32_t;
00061 typedef int32_t llrp_s32_t;
00063 typedef uint64_t llrp_u64_t;
00065 typedef int64_t llrp_s64_t;
00067 typedef uint8_t llrp_u1_t;
00069 typedef uint8_t llrp_u2_t;
00071 typedef uint8_t llrp_utf8_t;
00073 typedef bool llrp_bool_t;
00075 typedef uint8_t llrp_byte_t;
00076 #endif
00077
00078 #ifdef WIN32
00079 typedef unsigned char llrp_u8_t;
00080 typedef signed char llrp_s8_t;
00081 typedef unsigned short llrp_u16_t;
00082 typedef signed short llrp_s16_t;
00083 typedef unsigned int llrp_u32_t;
00084 typedef signed int llrp_s32_t;
00085 typedef unsigned long long llrp_u64_t;
00086 typedef signed long long llrp_s64_t;
00087 typedef unsigned char llrp_u1_t;
00088 typedef unsigned char llrp_u2_t;
00089 typedef unsigned char llrp_utf8_t;
00090 typedef bool llrp_bool_t;
00091 typedef unsigned char llrp_byte_t;
00092 #endif
00093
00094 };