summaryrefslogtreecommitdiff
path: root/tests/run_parallel.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run_parallel.h')
-rw-r--r--tests/run_parallel.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/run_parallel.h b/tests/run_parallel.h
index 7fae0b0..42110dc 100644
--- a/tests/run_parallel.h
+++ b/tests/run_parallel.h
@@ -33,6 +33,10 @@
#include "atomic_ops.h"
+#if (defined(_WIN32_WCE) || defined(__MINGW32CE__)) && !defined(abort)
+# define abort() _exit(-1) /* there is no abort() in WinCE */
+#endif
+
#ifndef _WIN64
# define AO_PTRDIFF_T long
#elif defined(__int64)