gnuboy-for-dfi/defs.h

39 lines
444 B
C
Raw Normal View History

#ifndef __DEFS_H__
#define __DEFS_H__
#ifdef IS_LITTLE_ENDIAN
#define LO 0
#define HI 1
#else
#define LO 1
#define HI 0
#endif
typedef unsigned char byte;
typedef unsigned char un8;
typedef unsigned short un16;
typedef unsigned int un32;
typedef signed char n8;
typedef signed short n16;
typedef signed int n32;
typedef un16 word;
typedef word addr;
2012-06-23 14:38:19 +00:00
/* stuff from main.c ... */
void die(char *fmt, ...);
void doevents();
#endif