diff src/video/macrom/SDL_romvideo.c @ 1402:d910939febfa

Use consistent identifiers for the various platforms we support. Make sure every source file includes SDL_config.h, so the proper system headers are chosen.
author Sam Lantinga <slouken@libsdl.org>
date Tue, 21 Feb 2006 08:46:50 +0000
parents 19418e4422cb
children 7a610f25c12f
line wrap: on
line diff
--- a/src/video/macrom/SDL_romvideo.c	Tue Feb 21 08:34:45 2006 +0000
+++ b/src/video/macrom/SDL_romvideo.c	Tue Feb 21 08:46:50 2006 +0000
@@ -19,6 +19,7 @@
     Sam Lantinga
     slouken@libsdl.org
 */
+#include "SDL_config.h"
 
 #if defined(__APPLE__) && defined(__MACH__)
 #include <Carbon/Carbon.h>
@@ -498,7 +499,7 @@
 		(SDL_modelist[0]->w-width)/2, (SDL_modelist[0]->h-height)/2);
 	}
 
-#if MACOSX && !USE_QUICKTIME
+#if defined(__MACOSX__) && !USE_QUICKTIME
 	/* Hum.. fullscreen mode is broken */
 	flags &= ~SDL_FULLSCREEN;
 #endif