aboutsummaryrefslogtreecommitdiff
path: root/tst
diff options
context:
space:
mode:
authorbeber <beber>2005-12-06 23:57:53 +0000
committerbeber <beber>2005-12-06 23:57:53 +0000
commit53ae392a2b3596b9ad8e336bb801fdad28910398 (patch)
tree132ff0bee8c045e00d2f141818a8b443877aaca7 /tst
parentmuch simplier macro (diff)
downloadespik-53ae392a2b3596b9ad8e336bb801fdad28910398.tar.xz
c++ ?
Diffstat (limited to 'tst')
-rw-r--r--tst/va_test.c8
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;