#ifdef WIN32 #include <windows.h> #else #include <stdio.h> #else
// What should I include for Mac OS X? #endif #include <SDL.h>
-------------- next part --------------
A non-text attachment was scrubbed…
Name: not available
Type: text/enriched
Size: 442 bytes
Desc: not available
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20040227/9d3b22a0/attachment.bin
#ifdef WIN32 #include <windows.h> #else #include <stdio.h> #else
// What should I include for Mac OS X? #endif #include <SDL.h>
You shouldn’t need to include any headers besides SDL.h unless you
use a specific API that SDL doesn’t provide.
See ya!
-Sam Lantinga, Software Engineer, Blizzard Entertainment
Pardon, I wasn’t descriptive enough. I meant SDL and OpenGL. Even then
Mac OS X still uses <SDL/SDL.h> or "SDL.h for including SDL."On Feb 27, 2004, at 11:52 PM, Sam Lantinga wrote: