summaryrefslogtreecommitdiff
path: root/tests/cancel2.c
diff options
context:
space:
mode:
authorrpj <rpj>2011-07-03 02:52:34 +0000
committerrpj <rpj>2011-07-03 02:52:34 +0000
commit36d058cf99f56deb90b7551c0fefdaf0180c0a90 (patch)
treeffd69f560140879dba52132b8ca0367b2d3feaa4 /tests/cancel2.c
parent0839be6d0a321aa805d2b31bf38ea13e76ccb532 (diff)
See the ChangeLog
Diffstat (limited to 'tests/cancel2.c')
-rw-r--r--tests/cancel2.c8
1 files changed, 7 insertions, 1 deletions
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 <stdio.h>
+
int
main()
{
+ fprintf(stderr, "Test N/A for this compiler environment.\n");
return 0;
}