diff options
Diffstat (limited to 'libtests/qintc.cc')
-rw-r--r-- | libtests/qintc.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libtests/qintc.cc b/libtests/qintc.cc index f9ca9558..85806d1a 100644 --- a/libtests/qintc.cc +++ b/libtests/qintc.cc @@ -1,5 +1,10 @@ #include <qpdf/QIntC.hh> #include <stdint.h> + +#ifdef NDEBUG +// We need assert even in a release build for test code. +# undef NDEBUG +#endif #include <cassert> #define try_convert(exp_pass, fn, i) \ |