From 53ae392a2b3596b9ad8e336bb801fdad28910398 Mon Sep 17 00:00:00 2001 From: beber Date: Tue, 6 Dec 2005 23:57:53 +0000 Subject: c++ ? --- tst/va_test.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tst/va_test.c b/tst/va_test.c index fdba4be..ac070ca 100644 --- a/tst/va_test.c +++ b/tst/va_test.c @@ -17,12 +17,20 @@ } */ +#ifdef __cplusplus +extern"C" { +#endif + #define espik_debug_print (fmt, ...) \ { \ fprintf (stdout, "%s, %s, %i: ", __FUNCTION__, __FILE__, __LINE__); \ vfprintf (stdout, fmt, ## __VA_ARGS__); \ } +#ifdef __cplusplus +} +#endif + int main() { int a = 10; -- cgit v1.2.3