]> git.mxchange.org Git - flightgear.git/blobdiff - XGL/xgl.h
Removed an extra #ifdef __cplusplus, then "}", #endif
[flightgear.git] / XGL / xgl.h
index e1b11e560a29538d88830fe4c764dce8c2eb40c7..17edd57e9132a36296108104f7250a5851fc1f7e 100644 (file)
--- a/XGL/xgl.h
+++ b/XGL/xgl.h
@@ -1,3 +1,11 @@
+#ifndef _XGL_H
+#define _XGL_H
+
+
+#ifdef __cplusplus                                                          
+extern "C" {                            
+#endif                                   
+
 
 #include <GL/gl.h>
 #include <GL/glu.h>
@@ -817,9 +825,12 @@ void xglDeleteTexturesEXT           ( GLsizei n, GLuint *textures ) ;
 void xglGenTexturesEXT              ( GLsizei n, GLuint *textures ) ;
 void xglPrioritizeTexturesEXT       ( GLsizei n, GLuint *textures, GLclampf *priorities ) ;
 
-#ifdef __cplusplus
-}; 
 #endif
 
+
+#ifdef __cplusplus
+}
 #endif
 
+
+#endif /* _XGL_H */