home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magazyn Amiga Shareware Floppies
/
ma64.dms
/
ma64.adf
/
FTPMount-1.0
/
Source
/
evtypes.h
< prev
next >
Wrap
C/C++ Source or Header
|
1995-09-06
|
808b
|
53 lines
/*
* This source file is Copyright 1995 by Evan Scott.
* All rights reserved.
* Permission is granted to distribute this file provided no
* fees beyond distribution costs are levied.
*/
typedef unsigned long b32;
typedef unsigned char b8;
typedef unsigned short b16;
typedef signed long sb32;
typedef signed char sb8;
typedef signed short sb16;
typedef void (*ptf)();
#ifdef TRUE
#undef TRUE
#endif
#ifdef FALSE
#undef FALSE
#endif
#ifdef NULL
#undef NULL
#endif
#ifdef TRUE
#undef TRUE
#endif
#ifdef FALSE
#undef FALSE
#endif
#ifdef NULL
#undef NULL
#endif
static void * const nil = 0;
typedef enum { false = (1 == 0), true = (1 == 1) } boolean;
#ifdef AMIGA
#define strcasecmp stricmp
#endif
/* NB: this only works for y a power of 2 */
#define ROUND_UP(x, y) ((x + y - 1) & (~(y - 1)))