diff options
| author | Joel de Vahl <joel@stalverk80.se> | 2007-10-09 09:04:57 +0000 |
|---|---|---|
| committer | Joel de Vahl <joel@stalverk80.se> | 2007-10-09 09:04:57 +0000 |
| commit | f6216e9a3a444466807c21ae298db3cdb8d0049a (patch) | |
| tree | f06c1052a98962eb95258092c855139db7c95622 /src/engine/config.h | |
| parent | b3f5ce5482ebc372f2a9e8237d7813a90c4a02c5 (diff) | |
| download | zcatch-f6216e9a3a444466807c21ae298db3cdb8d0049a.tar.gz zcatch-f6216e9a3a444466807c21ae298db3cdb8d0049a.zip | |
Fixed win32 compile.
Diffstat (limited to 'src/engine/config.h')
| -rw-r--r-- | src/engine/config.h | 8 |
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 |