diff options
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 |