00001 #pragma ident "$Id: gpstkplatform.h 3341 2013-01-28 16:05:33Z btolman $"
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034 #ifndef GPSTK_GPSTKPLATFORM_H
00035 #define GPSTK_GPSTKPLATFORM_H
00036
00037 #ifdef _MSC_VER
00038
00039 #include <cstdlib>
00040
00041 #define HAVE_STRING_H 1
00042 #define STDC_HEADERS 1
00043
00044
00045 #if (_MSC_VER < 1300)
00046 typedef signed char int8_t;
00047 typedef signed short int16_t;
00048 typedef signed int int32_t;
00049 typedef unsigned char uint8_t;
00050 typedef unsigned short uint16_t;
00051 typedef unsigned int uint32_t;
00052 typedef signed __int64 int64_t;
00053 typedef unsigned __int64 uint64_t;
00054 #elif(_MSC_VER <= 1500)
00055 typedef signed __int8 int8_t;
00056 typedef signed __int16 int16_t;
00057 typedef signed __int32 int32_t;
00058 typedef unsigned __int8 uint8_t;
00059 typedef unsigned __int16 uint16_t;
00060 typedef unsigned __int32 uint32_t;
00061 typedef signed __int64 int64_t;
00062 typedef unsigned __int64 uint64_t;
00063 #else
00064 #include <stdint.h>
00065 #endif
00066
00067
00068 #include <sys/timeb.h>
00069
00070 #elif defined __SUNPRO_CC
00071
00072 #include <sys/types.h>
00073 #include <sys/timeb.h>
00074
00075 #else
00076
00077 #include <stdint.h>
00078
00079 #endif // _MSC_VER
00080
00081 #endif // GPSTK_GPSTKPLATFORM_H