Mercurial > sdl-ios-xcode
comparison src/video/SDL_video.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 | 85d8b5fdd9f6 |
children | 5f52867ba65c |
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 /* The high-level video driver subsystem */ | 24 /* The high-level video driver subsystem */ |
24 | 25 |
25 #include "SDL.h" | 26 #include "SDL.h" |
26 #include "SDL_sysvideo.h" | 27 #include "SDL_sysvideo.h" |
354 /* 32 bit closest depth ordering */ | 355 /* 32 bit closest depth ordering */ |
355 { 0, 32, 16, 15, 24, 8, 0, 0 } | 356 { 0, 32, 16, 15, 24, 8, 0, 0 } |
356 }; | 357 }; |
357 | 358 |
358 | 359 |
359 #ifdef macintosh /* MPW optimization bug? */ | 360 #ifdef __MACOS__ /* MPW optimization bug? */ |
360 #define NEGATIVE_ONE 0xFFFFFFFF | 361 #define NEGATIVE_ONE 0xFFFFFFFF |
361 #else | 362 #else |
362 #define NEGATIVE_ONE -1 | 363 #define NEGATIVE_ONE -1 |
363 #endif | 364 #endif |
364 | 365 |