summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-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 c61d359..dee7146 100644
--- a/tests/run_parallel.h
+++ b/tests/run_parallel.h
@@ -33,6 +33,10 @@
#include "atomic_ops.h"
+#if !defined(AO_ATOMIC_OPS_H) && !defined(CPPCHECK)
+# error Wrong atomic_ops.h included.
+#endif
+
#if (defined(_WIN32_WCE) || defined(__MINGW32CE__)) && !defined(AO_HAVE_abort)
# define abort() _exit(-1) /* there is no abort() in WinCE */
#endif