summaryrefslogtreecommitdiff
path: root/test/regress_zlib.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2010-08-23 11:48:46 -0400
committerNick Mathewson <nickm@torproject.org>2010-08-23 11:49:06 -0400
commit743f8665395e7e06800e1a09a0ae701b72290d02 (patch)
treed1d5f2253c466a11b2a168fd40df948b48942903 /test/regress_zlib.c
parent970e6ad2ba4e42963d51c032ae8f9d2bdf2cefda (diff)
downloadlibevent-743f8665395e7e06800e1a09a0ae701b72290d02.tar.gz
Honor NDEBUG; build without warnings with NDEBUG; make NDEBUG always-off in unit test code
Diffstat (limited to 'test/regress_zlib.c')
-rw-r--r--test/regress_zlib.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/regress_zlib.c b/test/regress_zlib.c
index 5e7a37c1..48354b44 100644
--- a/test/regress_zlib.c
+++ b/test/regress_zlib.c
@@ -24,6 +24,9 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+/* The old tests here need assertions to work. */
+#undef NDEBUG
+
#ifdef WIN32
#include <winsock2.h>
#include <windows.h>