summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <jeremyhu@apple.com>2011-05-13 09:10:42 -0700
committerJeremy Huddleston <jeremyhu@apple.com>2011-05-13 09:10:42 -0700
commitf144fb771f2e0665677aa88d08778899f666a1d5 (patch)
treece4de7719c57312f8dba9beaed2d3581868f11cc
parentf46835a09662f71f2cb90540609c34561d8af87f (diff)
XQuartz: Don't circumvent NDEBUG
If someone wants to turn off asserts with NDEBUG, let them. Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
-rw-r--r--hw/xquartz/quartzKeyboard.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/hw/xquartz/quartzKeyboard.c b/hw/xquartz/quartzKeyboard.c
index c54011488..e682f08b6 100644
--- a/hw/xquartz/quartzKeyboard.c
+++ b/hw/xquartz/quartzKeyboard.c
@@ -56,13 +56,7 @@
#include "X11Application.h"
-#ifdef NDEBUG
-#undef NDEBUG
#include <assert.h>
-#define NDEBUG 1
-#else
-#include <assert.h>
-#endif
#include <pthread.h>
#include "xkbsrv.h"