Frederic: MSVC doesn't have stdint.h. I just copied the code found in net_gui.hxx to address this issue.
This commit is contained in:
parent
ee73d9fbff
commit
17ff8ec4a6
1 changed files with 10 additions and 1 deletions
|
@ -35,7 +35,16 @@
|
||||||
*
|
*
|
||||||
******************************************************************/
|
******************************************************************/
|
||||||
|
|
||||||
|
#ifdef HAVE_STDINT_H
|
||||||
# include <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>
|
#include <plib/sg.h>
|
||||||
|
|
||||||
// Message identifiers
|
// Message identifiers
|
||||||
|
|
Loading…
Add table
Reference in a new issue