]> git.mxchange.org Git - flightgear.git/blobdiff - src/Network/net_gui.hxx
Sync. w. JSBSim CVS
[flightgear.git] / src / Network / net_gui.hxx
index c69a1d291984977f4ea517edf0e3fb48aa074091..1025d6acc07d603450a91fb092a625efcb129e94 100644 (file)
@@ -11,6 +11,7 @@
 #ifndef _NET_GUI_HXX
 #define _NET_GUI_HXX
 
+#include <simgear/misc/stdint.hxx>
 
 // NOTE: this file defines an external interface structure.  Due to
 // variability between platforms and architectures, we only used fixed
 // I am not aware of any platforms that don't use 4 bytes for float
 // and 8 bytes for double.
 
-#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
 
 const uint32_t FG_NET_GUI_VERSION = 7;