summaryrefslogtreecommitdiff
path: root/src/debug.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/debug.h')
-rw-r--r--src/debug.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/debug.h b/src/debug.h
index c99795ddd..ff0761a8d 100644
--- a/src/debug.h
+++ b/src/debug.h
@@ -3,6 +3,10 @@
#ifndef DEBUG_H
#define DEBUG_H
+#ifdef __cplusplus
+extern "C" {
+#endif //__cplusplus
+
/* Debugging messages policy:
* These should be the severities used for direct DEBUG() calls
* maximum debugging level should be 10 if really deep, deep
@@ -105,4 +109,8 @@ const char *GetDebugString(void);
}\
}
+#ifdef __cplusplus
+}
+#endif //__cplusplus
+
#endif /* DEBUG_H */