]> git.mxchange.org Git - simgear.git/commitdiff
Attempt to fix the APIENTRY problem. It looks like a problem in OSG, or a conflict...
authorfredb <fredb>
Fri, 3 Nov 2006 18:08:46 +0000 (18:08 +0000)
committerfredb <fredb>
Fri, 3 Nov 2006 18:08:46 +0000 (18:08 +0000)
simgear/math/SGMath.hxx

index 80c23ceb0f31bd3f06ac18751229560dd8f717d2..3770408ce6939e5439d7850ee9e7292884f4b468 100644 (file)
 
 #include <iosfwd>
 // FIXME, make it compile on IRIX
-#ifdef HAVE_CONFIG_H
-#  include <config.h>
-#endif
-#ifdef HAVE_WINDOWS_H
-#  include <windows.h>
-#endif
 #include <osg/GL>
+#undef GLUT_APIENTRY_DEFINED // GL/glut.h undef APIENTRY when this symbol is defined. osg/GL defines it (?).
+                             // This probably would work if we didn't use plib/pu.h that include GL/glut.h 
+                             //  on its side.
 
 #include "SGMathFwd.hxx"