diff options
author | rubidium <rubidium@openttd.org> | 2007-01-10 18:56:51 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-01-10 18:56:51 +0000 |
commit | f35ed4bbc2b05f1b83476b60948d64375f77f1b4 (patch) | |
tree | 1a1c59c13ddb1d152052f3a3a0bcffe4fb531173 /src/debug.h | |
parent | a332d10fd938f345fff18e5f4a662a58f692f734 (diff) | |
download | openttd-f35ed4bbc2b05f1b83476b60948d64375f77f1b4.tar.xz |
(svn r8038) -Merge: the cpp branch. Effort of KUDr, Celestar, glx, Smoovius, stillunknown and pv2b.
Diffstat (limited to 'src/debug.h')
-rw-r--r-- | src/debug.h | 8 |
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 */ |