pthreadpool: We always want asserts to abort()
authorVolker Lendecke <vl@samba.org>
Mon, 29 Aug 2016 09:35:20 +0000 (11:35 +0200)
committerJeremy Allison <jra@samba.org>
Mon, 29 Aug 2016 22:13:10 +0000 (00:13 +0200)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/lib/pthreadpool/pthreadpool.c

index fc21d43e1a4471954832c2d323bc17f7f0aea563..2e9f42c258508953c36fc996aa13896a5b7d3ad8 100644 (file)
 #include "system/threads.h"
 #include "pthreadpool.h"
 #include "lib/util/dlinklist.h"
+
+#ifdef NDEBUG
+#undef NDEBUG
+#endif
+
 #include <assert.h>
 
 struct pthreadpool_job {