diff options
author | Gael Guennebaud <g.gael@free.fr> | 2013-07-01 13:47:25 +0200 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2013-07-01 13:47:25 +0200 |
commit | 65cc51288ad9c0545d148ff22feadc6219021078 (patch) | |
tree | cf9c045d77fc766a95b145de1fd6601013753ecc | |
parent | 22820e950e916917cebfc8aa1633162b847b53f7 (diff) |
On windows CE, assert.h defines NDEBUG if DEBUG is not defined
-rw-r--r-- | test/main.h | 5 |
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 |