src/SDL_assert.c
changeset 6051 cb1f941ce38e
parent 5547 4ccecd0901e2
child 6138 4c64952a58fb
     1.1 --- a/src/SDL_assert.c	Thu Nov 03 11:51:47 2011 -0400
     1.2 +++ b/src/SDL_assert.c	Sun Nov 06 17:05:48 2011 -0500
     1.3 @@ -319,7 +319,7 @@
     1.4  #ifdef __WIN32__
     1.5      state = SDL_PromptAssertion_windows(data);
     1.6  
     1.7 -#elif __MACOSX__
     1.8 +#elif defined __MACOSX__ && defined SDL_VIDEO_DRIVER_COCOA
     1.9      /* This has to be done in an Objective-C (*.m) file, so we call out. */
    1.10      extern SDL_assert_state SDL_PromptAssertion_cocoa(const SDL_assert_data *);
    1.11      state = SDL_PromptAssertion_cocoa(data);