From 03b6e34e745dd046b148b7b1663ba0749e3b4727 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Sat, 10 Oct 2009 09:22:11 +0000 Subject: [PATCH] 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. --- include/SDL_stdinc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/SDL_stdinc.h b/include/SDL_stdinc.h index fe63dcbab..e1f85fb75 100644 --- a/include/SDL_stdinc.h +++ b/include/SDL_stdinc.h @@ -90,7 +90,7 @@ /** @name Basic data types */ /*@{*/ -typedef enum SDL_bool { +typedef enum { SDL_FALSE = 0, SDL_TRUE = 1 } SDL_bool;