]> git.mxchange.org Git - flightgear.git/commitdiff
Use our own (crossplatform) stdint implementation.
authorehofman <ehofman>
Wed, 28 Sep 2005 13:55:54 +0000 (13:55 +0000)
committerehofman <ehofman>
Wed, 28 Sep 2005 13:55:54 +0000 (13:55 +0000)
utils/GPSsmooth/MIDG-II.hxx

index cfa5daa55893dbab97afbc03612c027f74dbc121..e35ffa96a6e6f449971d5ae3d1480d9a9c2d84fa 100644 (file)
 #include <string>
 #include <vector>
 
-#ifdef HAVE_STDINT_H
-# include <stdint.h>
-#elif defined( _MSC_VER ) || defined(__MINGW32__) || defined(sun)
-typedef signed short     int16_t;
-typedef signed int       int32_t;
-typedef unsigned short   uint16_t;
-typedef unsigned int     uint32_t;
-#else
-# error "Port me! Platforms that don't have <stdint.h> need to define int8_t, et. al."
-#endif
-
+#include <simgear/misc/stdint.hxx>
 #include <simgear/io/iochannel.hxx>
 
 SG_USING_STD(cout);