]> git.mxchange.org Git - flightgear.git/blobdiff - src/Network/net_fdm.hxx
allow to trigger widgets via accelerator key, which is defined via "keynum"
[flightgear.git] / src / Network / net_fdm.hxx
index f40863248dc693ab615c73af2784a8c6852820db..3056bf83200072a79cd6f7adf1d29c2f442f54d8 100644 (file)
@@ -14,6 +14,7 @@
 
 
 #include <time.h> // time_t
+#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__)
-typedef signed char      int8_t;
-typedef signed short     int16_t;
-typedef signed int       int32_t;
-typedef signed __int64   int64_t;
-typedef unsigned char    uint8_t;
-typedef unsigned short   uint16_t;
-typedef unsigned int     uint32_t;
-typedef unsigned __int64 uint64_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_FDM_VERSION = 22;