]> git.mxchange.org Git - flightgear.git/blobdiff - Scenery/texload.h
Prepairing for C++ integration.
[flightgear.git] / Scenery / texload.h
index 2c9335741de1b26c1dee029ccb51d232325a4a86..348f45014a1b3e4aa8792d989764d74bc913bc4c 100644 (file)
 #define _TEXLOAD_H
 
 
+#ifdef __cplusplus                                                          
+extern "C" {                            
+#endif                                   
+
+
 #include <GL/glut.h>
 
 extern GLubyte *read_alpha_texture(char *name, int *width, int *height);
 extern GLubyte * read_rgb_texture(char *name, int *width, int *height);
 
 
+#ifdef __cplusplus
+}
+#endif
+
+
 #endif /* _TEXLOAD_H */