diff src/SDL_assert.c @ 3690:e431b888ac6c

Fixed compilation on iPhone
author Sam Lantinga <slouken@libsdl.org>
date Thu, 21 Jan 2010 16:12:24 +0000
parents 64ce267332c6
children f7b03b6838cb
line wrap: on
line diff
--- a/src/SDL_assert.c	Thu Jan 21 16:11:55 2010 +0000
+++ b/src/SDL_assert.c	Thu Jan 21 16:12:24 2010 +0000
@@ -312,7 +312,7 @@
 #ifdef _WINDOWS
     state = SDL_PromptAssertion_windows(data);
 
-#elif __APPLE__
+#elif __MACOSX__
     /* This has to be done in an Objective-C (*.m) file, so we call out. */
     extern SDL_assert_state SDL_PromptAssertion_cocoa(const SDL_assert_data *);
     state = SDL_PromptAssertion_cocoa(data);