Mercurial > hg > forks > bilotrip-mj12
view src/mtypes.h @ 36:bef14a3387a1
Add missing files.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 05 Aug 2013 20:53:49 +0300 |
parents | |
children |
line wrap: on
line source
#ifndef MTYPES_H #define MTYPES_H 1 typedef unsigned char Uint8; typedef unsigned short Uint16; typedef unsigned int Uint32; /* Define a boolean type */ #if !defined(FALSE) && !defined(TRUE) && !defined(BOOL) typedef enum { FALSE = 0, TRUE = 1 } BOOL; #endif #ifndef BOOL # ifdef bool # define BOOL bool # else # define BOOL int # endif #endif #endif