comparison 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
comparison
equal deleted inserted replaced
1401:1819fd069e89 1402:d910939febfa
17 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 17 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18 18
19 Sam Lantinga 19 Sam Lantinga
20 slouken@libsdl.org 20 slouken@libsdl.org
21 */ 21 */
22 #include "SDL_config.h"
22 23
23 #if defined(__APPLE__) && defined(__MACH__) 24 #if defined(__APPLE__) && defined(__MACH__)
24 #include <Carbon/Carbon.h> 25 #include <Carbon/Carbon.h>
25 #if USE_QUICKTIME 26 #if USE_QUICKTIME
26 #include <QuickTime/Movies.h> 27 #include <QuickTime/Movies.h>
496 /* Center the window the first time we show it */ 497 /* Center the window the first time we show it */
497 OffsetRect(&wrect, 498 OffsetRect(&wrect,
498 (SDL_modelist[0]->w-width)/2, (SDL_modelist[0]->h-height)/2); 499 (SDL_modelist[0]->w-width)/2, (SDL_modelist[0]->h-height)/2);
499 } 500 }
500 501
501 #if MACOSX && !USE_QUICKTIME 502 #if defined(__MACOSX__) && !USE_QUICKTIME
502 /* Hum.. fullscreen mode is broken */ 503 /* Hum.. fullscreen mode is broken */
503 flags &= ~SDL_FULLSCREEN; 504 flags &= ~SDL_FULLSCREEN;
504 #endif 505 #endif
505 if ( (flags & SDL_FULLSCREEN) == SDL_FULLSCREEN ) { 506 if ( (flags & SDL_FULLSCREEN) == SDL_FULLSCREEN ) {
506 /* Create the fullscreen window and use screen bits */ 507 /* Create the fullscreen window and use screen bits */