summaryrefslogtreecommitdiffstats
path: root/src/native/jogl
diff options
context:
space:
mode:
authorKenneth Russel <[email protected]>2006-01-19 19:47:50 +0000
committerKenneth Russel <[email protected]>2006-01-19 19:47:50 +0000
commitfc4de93ffb4b20cae0c51484f59a40e7c16430bb (patch)
tree940a02652b6ab486847987df5500cccbc42624d9 /src/native/jogl
parent4b573c7ecdf1798893355b011e18e4b72b1a315c (diff)
Fixed build breakage on 10.3 after last checkin
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@551 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'src/native/jogl')
-rw-r--r--src/native/jogl/MacOSXWindowSystemInterface.m9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/native/jogl/MacOSXWindowSystemInterface.m b/src/native/jogl/MacOSXWindowSystemInterface.m
index e56eaa20c..ed15d6a7e 100644
--- a/src/native/jogl/MacOSXWindowSystemInterface.m
+++ b/src/native/jogl/MacOSXWindowSystemInterface.m
@@ -1,3 +1,7 @@
+/* Note: usage of AvailabilityMacros.h to detect whether we're
+ building on OS X 10.3 does not work because the header #defines
+ MAC_OS_X_VERSION_10_4 even though the machine is a 10.3 machine
+
#include <AvailabilityMacros.h>
#ifndef MAC_OS_X_VERSION_10_3
@@ -5,9 +9,14 @@
#endif
#ifndef MAC_OS_X_VERSION_10_4
+*/
+
#define NSOpenGLPFAColorFloat kCGLPFAColorFloat
#define kCGLNoError 0
+
+/*
#endif
+*/
#import <Cocoa/Cocoa.h>
#import <OpenGL/gl.h>