]> git.mxchange.org Git - flightgear.git/blobdiff - src/Network/net_ctrls.hxx
White space fix.
[flightgear.git] / src / Network / net_ctrls.hxx
index 05b59367eaad1155477abe73d624da29541a0e38..48d89d34b12310df3ae2418010aa020566f8b4a6 100644 (file)
@@ -12,6 +12,7 @@
 #ifndef _NET_CTRLS_HXX
 #define _NET_CTRLS_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_CTRLS_VERSION = 26;
 
 
@@ -112,7 +102,7 @@ public:
     double magvar;                      // local magnetic variation in degs.
 
     // hazards
-    uint32_t icing;                       // icing status could me much
+    uint32_t icing;                      // icing status could me much
                                          // more complex but I'm
                                          // starting simple here.