mirror of
https://github.com/digarok/gsplus.git
synced 2024-11-30 16:50:45 +00:00
use c99 stdint types.
This commit is contained in:
parent
ee078aeb19
commit
38e691562c
15
src/defc.h
15
src/defc.h
@ -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();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user