diff options
author | Anthony Green <green@moxielogic.com> | 2013-01-08 07:30:28 -0500 |
---|---|---|
committer | Anthony Green <green@moxielogic.com> | 2013-01-08 07:30:28 -0500 |
commit | f7879bc3f3a8d0bbfcc38771732c160a58ba9cd8 (patch) | |
tree | 0a535154fb806c7c8f94072e6762a7684b9cb74c /testsuite/libffi.call/ffitest.h | |
parent | 67cea90fc0897021466fd102671019d30db474cd (diff) | |
download | libffi-f7879bc3f3a8d0bbfcc38771732c160a58ba9cd8.tar.gz |
Testsuite fix for Solaris vendor compiler
Diffstat (limited to 'testsuite/libffi.call/ffitest.h')
-rw-r--r-- | testsuite/libffi.call/ffitest.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/libffi.call/ffitest.h b/testsuite/libffi.call/ffitest.h index d81d4da..a264fb5 100644 --- a/testsuite/libffi.call/ffitest.h +++ b/testsuite/libffi.call/ffitest.h @@ -15,7 +15,7 @@ #define MAX_ARGS 256 -#define CHECK(x) !(x) ? abort() : 0 +#define CHECK(x) !(x) ? (abort(), 1) : 0 /* Define __UNUSED__ that also other compilers than gcc can run the tests. */ #undef __UNUSED__ |