src/SDL_assert.c
changeset 6051 cb1f941ce38e
parent 5547 4ccecd0901e2
child 6138 4c64952a58fb
equal deleted inserted replaced
6046:3b33b82cdbac 6051:cb1f941ce38e
   317     /* platform-specific UI... */
   317     /* platform-specific UI... */
   318 
   318 
   319 #ifdef __WIN32__
   319 #ifdef __WIN32__
   320     state = SDL_PromptAssertion_windows(data);
   320     state = SDL_PromptAssertion_windows(data);
   321 
   321 
   322 #elif __MACOSX__
   322 #elif defined __MACOSX__ && defined SDL_VIDEO_DRIVER_COCOA
   323     /* This has to be done in an Objective-C (*.m) file, so we call out. */
   323     /* This has to be done in an Objective-C (*.m) file, so we call out. */
   324     extern SDL_assert_state SDL_PromptAssertion_cocoa(const SDL_assert_data *);
   324     extern SDL_assert_state SDL_PromptAssertion_cocoa(const SDL_assert_data *);
   325     state = SDL_PromptAssertion_cocoa(data);
   325     state = SDL_PromptAssertion_cocoa(data);
   326 
   326 
   327 #else
   327 #else