]> git.mxchange.org Git - flightgear.git/blobdiff - src/MultiPlayer/mpmessages.hxx
Harald JOHNSEN:
[flightgear.git] / src / MultiPlayer / mpmessages.hxx
index b0f91b268331b0b800b0fa6d7de698185941e0ec..4a105aadec79e6b6e46c12db277674e79e625e00 100644 (file)
 *
 ******************************************************************/
 
-#include <stdint.h>
+#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 <plib/sg.h>
 
 // Message identifiers