summaryrefslogtreecommitdiff
path: root/testsuite/libffi.call/ffitest.h
diff options
context:
space:
mode:
authorAnthony Green <green@moxielogic.com>2013-01-08 07:30:28 -0500
committerAnthony Green <green@moxielogic.com>2013-01-08 07:30:28 -0500
commitf7879bc3f3a8d0bbfcc38771732c160a58ba9cd8 (patch)
tree0a535154fb806c7c8f94072e6762a7684b9cb74c /testsuite/libffi.call/ffitest.h
parent67cea90fc0897021466fd102671019d30db474cd (diff)
downloadlibffi-f7879bc3f3a8d0bbfcc38771732c160a58ba9cd8.tar.gz
Testsuite fix for Solaris vendor compiler
Diffstat (limited to 'testsuite/libffi.call/ffitest.h')
-rw-r--r--testsuite/libffi.call/ffitest.h2
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__