summaryrefslogtreecommitdiff
path: root/package/tor/patches/patch-src_common_util_h
blob: 4052d16f1b34c2e09085f74e9d53d712ddb4d545 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
$Id$
--- tor-0.1.1.26.orig/src/common/util.h	2006-09-24 19:47:57.000000000 +0200
+++ tor-0.1.1.26/src/common/util.h	2007-02-17 23:09:46.000000000 +0100
@@ -36,7 +36,7 @@
  * And I'm not just saying that because some of our asserts check
  * security-critical properties.
  */
-#error "Sorry; we don't support building with NDEBUG."
+#define tor_assert(expr) ((void)(0))
 #else
 #define tor_assert(expr) do {                                           \
     if (!(expr)) {                                                      \