# HG changeset patch # User Sam Lantinga # Date 1255166531 0 # Node ID 9f66052ebb8114be375f760af43bcba68c3f7322 # Parent 9c47984430f0c7e39a92f91f1bbe14cc17aa668e Made typedef for SDL_bool the same as the other typedefs. If this causes problems on any compiler, please report a bug to http://bugzilla.libsdl.org/ and include the platform and version of compiler you're using. diff -r 9c47984430f0 -r 9f66052ebb81 include/SDL_stdinc.h --- a/include/SDL_stdinc.h Sat Oct 10 09:21:09 2009 +0000 +++ b/include/SDL_stdinc.h Sat Oct 10 09:22:11 2009 +0000 @@ -90,7 +90,7 @@ /** @name Basic data types */ /*@{*/ -typedef enum SDL_bool { +typedef enum { SDL_FALSE = 0, SDL_TRUE = 1 } SDL_bool;