]> git.mxchange.org Git - simgear.git/blobdiff - XGL/xgl.h
Prepairing for C++ integration.
[simgear.git] / XGL / xgl.h
index 9546127c658bed25b96561308658ead1f15410d8..a8f14ccfbc8a99de0e195664833e6c849dd1eaad 100644 (file)
--- a/XGL/xgl.h
+++ b/XGL/xgl.h
@@ -2,6 +2,11 @@
 #define _XGL_H
 
 
+#ifdef __cplusplus                                                          
+extern "C" {                            
+#endif                                   
+
+
 #include <GL/gl.h>
 #include <GL/glu.h>
 #include <stdio.h>
@@ -826,4 +831,10 @@ void xglPrioritizeTexturesEXT       ( GLsizei n, GLuint *textures, GLclampf *pri
 
 #endif
 
+
+#ifdef __cplusplus
+}
+#endif
+
+
 #endif /* _XGL_H */