]> git.mxchange.org Git - simgear.git/blobdiff - XGL/xgl.h
Removed an extraneous extern "C" ...
[simgear.git] / XGL / xgl.h
index a8f14ccfbc8a99de0e195664833e6c849dd1eaad..434ab09d6ec862d0560b13667b152e124a6bc093 100644 (file)
--- a/XGL/xgl.h
+++ b/XGL/xgl.h
@@ -2,15 +2,20 @@
 #define _XGL_H
 
 
-#ifdef __cplusplus                                                          
-extern "C" {                            
-#endif                                   
-
+#ifdef HAVE_WINDOWS_H
+#  include <windows.h>
+#endif
 
 #include <GL/gl.h>
 #include <GL/glu.h>
 #include <stdio.h>
 
+
+#ifdef __cplusplus                                                          
+extern "C" {                            
+#endif                                   
+
+
 /* xgl Utilities */
 
 extern FILE *xglTraceFd ;
@@ -469,10 +474,6 @@ glNormal3fv(f);\
 
 #else
 
-#ifdef __cplusplus
-extern "C" {
-#endif
-
 GLboolean xglIsEnabled  ( GLenum cap ) ; 
 GLboolean xglIsList     ( GLuint list ) ; 
 GLenum    xglGetError   () ; 
@@ -825,10 +826,6 @@ void xglDeleteTexturesEXT           ( GLsizei n, GLuint *textures ) ;
 void xglGenTexturesEXT              ( GLsizei n, GLuint *textures ) ;
 void xglPrioritizeTexturesEXT       ( GLsizei n, GLuint *textures, GLclampf *priorities ) ;
 
-#ifdef __cplusplus
-}; 
-#endif
-
 #endif