gpstkplatform.h

Go to the documentation of this file.
00001 #pragma ident "$Id: gpstkplatform.h 2972 2011-11-10 12:10:39Z yanweignss $"
00002 
00003 
00004 
00005 //============================================================================
00006 //
00007 //  This file is part of GPSTk, the GPS Toolkit.
00008 //
00009 //  The GPSTk is free software; you can redistribute it and/or modify
00010 //  it under the terms of the GNU Lesser General Public License as published
00011 //  by the Free Software Foundation; either version 2.1 of the License, or
00012 //  any later version.
00013 //
00014 //  The GPSTk is distributed in the hope that it will be useful,
00015 //  but WITHOUT ANY WARRANTY; without even the implied warranty of
00016 //  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00017 //  GNU Lesser General Public License for more details.
00018 //
00019 //  You should have received a copy of the GNU Lesser General Public
00020 //  License along with GPSTk; if not, write to the Free Software Foundation,
00021 //  Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00022 //  
00023 //  Copyright 2004, The University of Texas at Austin
00024 //
00025 //============================================================================
00026 
00027 
00028 
00029 
00030 /* This is where all platform specific includes, defines and crud should go.
00031    Unless, of course, it has to go somewhere else. :-)
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

Generated on Wed Feb 8 03:30:59 2012 for GPS ToolKit Software Library by  doxygen 1.3.9.1