about summary refs log tree commit diff
path: root/src/engine/config.h
diff options
context:
space:
mode:
authorJoel de Vahl <joel@stalverk80.se>2007-10-09 09:04:57 +0000
committerJoel de Vahl <joel@stalverk80.se>2007-10-09 09:04:57 +0000
commitf6216e9a3a444466807c21ae298db3cdb8d0049a (patch)
treef06c1052a98962eb95258092c855139db7c95622 /src/engine/config.h
parentb3f5ce5482ebc372f2a9e8237d7813a90c4a02c5 (diff)
downloadzcatch-f6216e9a3a444466807c21ae298db3cdb8d0049a.tar.gz
zcatch-f6216e9a3a444466807c21ae298db3cdb8d0049a.zip
Fixed win32 compile.
Diffstat (limited to 'src/engine/config.h')
-rw-r--r--src/engine/config.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/engine/config.h b/src/engine/config.h
index ce0a6567..f5af8779 100644
--- a/src/engine/config.h
+++ b/src/engine/config.h
@@ -1,6 +1,10 @@
 #ifndef _CONFIG_H
 #define _CONFIG_H
 
+#ifdef __cplusplus
+extern "C"{
+#endif
+
 typedef struct
 { 
     #define MACRO_CONFIG_INT(name,def,min,max) int name;
@@ -29,4 +33,8 @@ void config_save(const char *filename);
 #undef MACRO_CONFIG_INT
 #undef MACRO_CONFIG_STR
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif