diff options
Diffstat (limited to 'tests/cancel2.c')
-rw-r--r-- | tests/cancel2.c | 8 |
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; } |