use c99 stdint types.

This commit is contained in:
Kelvin Sherlock 2019-01-22 22:37:20 -05:00
parent ee078aeb19
commit 38e691562c

View File

@ -7,6 +7,8 @@
#include "defcomm.h" #include "defcomm.h"
#include <stdint.h>
// OG redirect printf to console // OG redirect printf to console
#ifdef ACTIVEGS #ifdef ACTIVEGS
#include <stdio.h> #include <stdio.h>
@ -18,14 +20,11 @@ extern "C" int fOutputInfo(FILE*,const char* format,...);
#define STRUCT(a) typedef struct _ ## a a; struct _ ## a #define STRUCT(a) typedef struct _ ## a a; struct _ ## a
typedef unsigned char byte; typedef uint8_t byte;
typedef unsigned short word16; typedef uint16_t word16;
typedef unsigned int word32; typedef uint32_t word32;
#if _MSC_VER typedef uint64_t word64;
typedef unsigned __int64 word64;
#else
typedef unsigned long long word64;
#endif
void U_STACK_TRACE(); void U_STACK_TRACE();