From 4aeba036415f5c0d35412d5935a5832b0d0b5246 Mon Sep 17 00:00:00 2001 From: fayjf Date: Wed, 18 Nov 2009 12:29:05 +0000 Subject: [PATCH] Adding Mac OSX to the list of platforms covered by the X11 support. This is a stopgap measure so we can get something out the door; I would prefer native OSX support. See e-mail from Paul Martz at 3:25 PM, 11/16/09 for some thoughts on this. Apparently this allows the library to build but the demos do not work. git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@850 7f0cb862-5218-0410-a997-914c9d46530a --- freeglut/freeglut/src/freeglut_internal.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/freeglut/freeglut/src/freeglut_internal.h b/freeglut/freeglut/src/freeglut_internal.h index 7c71873..2d77ab0 100644 --- a/freeglut/freeglut/src/freeglut_internal.h +++ b/freeglut/freeglut/src/freeglut_internal.h @@ -49,9 +49,11 @@ #elif defined(__posix__) || defined(__unix__) || defined(__linux__) # define TARGET_HOST_POSIX_X11 1 -/* FIXME: no Macintosh support? -#if ... -# define TARGET_HOST_MAC_OSX 1 +#elif defined(__APPLE__) +/* This is a placeholder until we get native OSX support ironed out -- JFF 11/18/09 */ +# define TARGET_HOST_POSIX_X11 1 +/* # define TARGET_HOST_MAC_OSX 1 */ + #else # error "Unrecognized target host!" */