Yes, Darwin (and OS X) is POSIX, see

http://www.xyroth-enterprises.co.uk/posixos.htm
SDL is used on OS X for some things, but not all.
Use #if defined(...) instead of #ifdef in most of the Selector_*.h files.
This commit is contained in:
Steve Checkoway
2005-03-23 21:15:12 +00:00
parent ae02033893
commit 47de0f1783
6 changed files with 19 additions and 28 deletions
@@ -17,9 +17,9 @@
#include "InputHandler_MonkeyKeyboard.h"
// NOTE: If X11 is available, we don't use LLW_SDL, which IH_SDL depends on.
#ifdef HAVE_X11
#if defined(HAVE_X11)
#include "InputHandler_X11.h"
#elif HAVE_SDL
#elif defined(HAVE_SDL)
#include "InputHandler_SDL.h"
#endif