From 36d058cf99f56deb90b7551c0fefdaf0180c0a90 Mon Sep 17 00:00:00 2001 From: rpj Date: Sun, 3 Jul 2011 02:52:34 +0000 Subject: See the ChangeLog --- tests/cancel2.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'tests/cancel2.c') diff --git a/tests/cancel2.c b/tests/cancel2.c index 83cb6eb..0eff4a0 100644 --- a/tests/cancel2.c +++ b/tests/cancel2.c @@ -72,7 +72,10 @@ * - Process returns non-zero exit status. */ -#if defined(_MSC_VER) || defined(__cplusplus) +/* + * EXCEPTION_CONTINUE_SEARCH is used to identify that we are using SEH + */ +#if defined(EXCEPTION_CONTINUE_SEARCH) || defined(__cplusplus) #include "test.h" @@ -242,9 +245,12 @@ main() #else /* defined(_MSC_VER) || defined(__cplusplus) */ +#include + int main() { + fprintf(stderr, "Test N/A for this compiler environment.\n"); return 0; } -- cgit v1.2.3