Fixed so SDL_quit.h doesn't require SDL_compat.h
authorSam Lantinga <slouken@libsdl.org>
Thu, 21 Apr 2011 09:50:29 -0700
changeset 5545 978cc06ed5ad
parent 5544 7bf3c86d8b60
child 5546 cd2167525827
Fixed so SDL_quit.h doesn't require SDL_compat.h
include/SDL_quit.h
--- a/include/SDL_quit.h	Wed Apr 20 15:14:18 2011 -0400
+++ b/include/SDL_quit.h	Thu Apr 21 09:50:29 2011 -0700
@@ -53,6 +53,6 @@
 /* There are no functions directly affecting the quit event */
 
 #define SDL_QuitRequested() \
-        (SDL_PumpEvents(), SDL_PeepEvents(NULL,0,SDL_PEEKEVENT,SDL_QUITMASK))
+        (SDL_PumpEvents(), SDL_PeepEvents(NULL,0,SDL_PEEKEVENT,SDL_QUIT,SDL_QUIT))
 
 #endif /* _SDL_quit_h */