]> git.mxchange.org Git - simgear.git/blobdiff - Debug/fg_debug.h
Prepairing for C++ integration.
[simgear.git] / Debug / fg_debug.h
index aa3b44117971624b6fe7e14b8c50a74e524142c1..51e75b14de05163ab38b83206246274cbc786372 100644 (file)
 #ifndef _FG_DEBUG_H
 #define _FG_DEBUG_H
 
+
+#ifdef __cplusplus                                                          
+extern "C" {                            
+#endif                                   
+
+
 #include <stdio.h>
 
 /* NB: To add a dbg_class, add it here, and add it to the structure in
@@ -139,5 +145,11 @@ extern fgDebugPriority fg_DebugPriority;
 
 extern FILE *          fg_DebugOutput;
 
+
+#ifdef __cplusplus
+}
+#endif
+
+
 #endif /* _FG_DEBUG_H */