configure.ac: prevent -lao, -lXext to be linked to all binaries
[rofl0r-gnuboy.git] / defs.h
blob51c95f5234962aae6f9c9590a88cf3ad759f28b8
4 #ifndef __DEFS_H__
5 #define __DEFS_H__
9 #ifdef IS_LITTLE_ENDIAN
10 #define LO 0
11 #define HI 1
12 #else
13 #define LO 1
14 #define HI 0
15 #endif
18 typedef unsigned char byte;
20 typedef unsigned char un8;
21 typedef unsigned short un16;
22 typedef unsigned int un32;
24 typedef signed char n8;
25 typedef signed short n16;
26 typedef signed int n32;
28 typedef un16 word;
29 typedef word addr;
31 /* stuff from main.c ... */
32 void die(char *fmt, ...);
33 void doevents();
37 #endif