X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=fceu.git;a=blobdiff_plain;f=types.h;fp=types.h;h=76eb7edd18a3ae8d52b20a93c392713d2ee5c0c6;hp=485b019a1ee0dea11ee5c3d53bcde037e93b5a5e;hb=386f5371eb984fb9c2860c83e740890a75cd45c1;hpb=eec2623f6183dd0f9494b99065a16bf90f2a1ccf diff --git a/types.h b/types.h index 485b019..76eb7ed 100644 --- a/types.h +++ b/types.h @@ -35,6 +35,10 @@ typedef uint32_t uint32; //typedef unsigned short uint16; //typedef unsigned long uint32; +#ifndef __cplusplus +#define bool int +#endif + #ifdef __GNUC__ typedef unsigned long long uint64; typedef long long int64;