diff options
author | beber <beber> | 2005-12-06 23:57:53 +0000 |
---|---|---|
committer | beber <beber> | 2005-12-06 23:57:53 +0000 |
commit | 53ae392a2b3596b9ad8e336bb801fdad28910398 (patch) | |
tree | 132ff0bee8c045e00d2f141818a8b443877aaca7 /tst | |
parent | much simplier macro (diff) | |
download | espik-53ae392a2b3596b9ad8e336bb801fdad28910398.tar.xz |
c++ ?
Diffstat (limited to 'tst')
-rw-r--r-- | tst/va_test.c | 8 |
1 files changed, 8 insertions, 0 deletions
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; |