Use our own (crossplatform) stdint implementation.
This commit is contained in:
parent
6fa0721363
commit
048b7df3f7
1 changed files with 1 additions and 11 deletions
|
@ -12,17 +12,7 @@
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
#ifdef HAVE_STDINT_H
|
#include <simgear/misc/stdint.hxx>
|
||||||
# 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 <simgear/io/iochannel.hxx>
|
#include <simgear/io/iochannel.hxx>
|
||||||
|
|
||||||
SG_USING_STD(cout);
|
SG_USING_STD(cout);
|
||||||
|
|
Loading…
Reference in a new issue