summaryrefslogtreecommitdiff
path: root/tests/exception2.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/exception2.c')
-rw-r--r--tests/exception2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/exception2.c b/tests/exception2.c
index 36edd9c..35ae606 100644
--- a/tests/exception2.c
+++ b/tests/exception2.c
@@ -78,7 +78,7 @@
#if defined(_MSC_VER) && defined(__cplusplus)
#include <eh.h>
-#else
+#elif defined(__cplusplus)
#include <exception>
#endif