X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FNetwork%2Fnet_fdm_mini.hxx;h=e1243756c90bf812f92a853fdcc2fa17fcfcd7b5;hb=a1031b052dd40ca3a4ea68dcd7f572b7d9e4bb24;hp=c3c0b70bd93d4b8f447fa589c3b16293b3ca56a0;hpb=5b9bd7ae4dc307bf0ea8a16d3577a3e159d409ea;p=flightgear.git diff --git a/src/Network/net_fdm_mini.hxx b/src/Network/net_fdm_mini.hxx index c3c0b70bd..e1243756c 100644 --- a/src/Network/net_fdm_mini.hxx +++ b/src/Network/net_fdm_mini.hxx @@ -17,6 +17,7 @@ # error This library requires C++ #endif +#include // NOTE: this file defines an external interface structure. Due to // variability between platforms and architectures, we only used fixed @@ -24,21 +25,6 @@ // 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 -#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 need to define int8_t, et. al." -#endif - const uint32_t FG_NET_FDM_MINI_VERSION = 2;