From b4fa1f4f50412bafd3e7bfeca0955c1202ce3f12 Mon Sep 17 00:00:00 2001 From: kazer_ Date: Mon, 16 Jul 2007 12:20:34 +0000 Subject: [PATCH] Added c++ compliance git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk@343 ffa7fe5e-494d-0410-b361-a75ebd5db220 --- navit/src/debug.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/navit/src/debug.h b/navit/src/debug.h index aabf8e9..95eebb2 100644 --- a/navit/src/debug.h +++ b/navit/src/debug.h @@ -1,3 +1,7 @@ +#ifdef __cplusplus +extern "C" { +#endif + #include int debug_level; #define dbg(level,fmt...) ({ if (debug_level >= level) debug_printf(level,MODULE,__PRETTY_FUNCTION__,1,fmt); }) @@ -9,3 +13,7 @@ int debug_level_get(const char *name); void debug_vprintf(int level, const char *module, const char *function, int prefix, const char *fmt, va_list ap); void debug_printf(int level, const char *module, const char *function, int prefix, const char *fmt, ...); /* end of prototypes */ + +#ifdef __cplusplus +} +#endif \ No newline at end of file -- 2.7.4