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 5545978cc06ed5ad
parent 5544 7bf3c86d8b60
child 5546 cd2167525827
Fixed so SDL_quit.h doesn't require SDL_compat.h
include/SDL_quit.h
     1.1 --- a/include/SDL_quit.h	Wed Apr 20 15:14:18 2011 -0400
     1.2 +++ b/include/SDL_quit.h	Thu Apr 21 09:50:29 2011 -0700
     1.3 @@ -53,6 +53,6 @@
     1.4  /* There are no functions directly affecting the quit event */
     1.5  
     1.6  #define SDL_QuitRequested() \
     1.7 -        (SDL_PumpEvents(), SDL_PeepEvents(NULL,0,SDL_PEEKEVENT,SDL_QUITMASK))
     1.8 +        (SDL_PumpEvents(), SDL_PeepEvents(NULL,0,SDL_PEEKEVENT,SDL_QUIT,SDL_QUIT))
     1.9  
    1.10  #endif /* _SDL_quit_h */