00001 #pragma ident "$Id: gpstkplatform.h 2972 2011-11-10 12:10:39Z yanweignss $"
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<stdlib.h>
00040
00041 #define HAVE_STRING_H 1
00042 #define STDC_HEADERS 1
00043
00044 typedef __int8 int8_t;
00045 typedef __int16 int16_t;
00046 typedef __int32 int32_t;
00047 typedef __int64 int64_t;
00048 typedef unsigned __int8 uint8_t;
00049 typedef unsigned __int16 uint16_t;
00050 typedef unsigned __int32 uint32_t;
00051 typedef unsigned __int64 uint64_t;
00052
00053
00054 #include <sys/types.h>
00055 #include <sys/timeb.h>
00056
00057
00058 #elif !defined(__SUNPRO_CC)
00059 #include <stdint.h>
00060 #endif
00061
00062 typedef int8_t Int8;
00063 typedef int16_t Int16;
00064 typedef int32_t Int32;
00065 typedef int64_t Int64;
00066
00067 typedef uint8_t UInt8;
00068 typedef uint16_t UInt16;
00069 typedef uint32_t UInt32;
00070 typedef uint64_t UInt64;
00071
00072 #endif