aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/main.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/main.h')
-rw-r--r--test/main.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/main.h b/test/main.h
index 2a6b184ae..0f55fef71 100644
--- a/test/main.h
+++ b/test/main.h
@@ -42,6 +42,11 @@
#undef NDEBUG
#endif
+// On windows CE, NDEBUG is automatically defined <assert.h> if NDEBUG is not defined.
+#ifndef DEBUG
+#define DEBUG
+#endif
+
// bounds integer values for AltiVec
#ifdef __ALTIVEC__
#define EIGEN_MAKING_DOCS