From 2acf1ac652af08012bc2d16691d0b238b33c4bd9 Mon Sep 17 00:00:00 2001 From: "John F. Fay" 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: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@850 7f0cb862-5218-0410-a997-914c9d46530a --- src/freeglut_internal.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/freeglut_internal.h b/src/freeglut_internal.h index 7c71873..2d77ab0 100644 --- a/src/freeglut_internal.h +++ b/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!" */ -- 1.7.10.4