fix for building with some configurations
authorCampbell Barton <ideasman42@gmail.com>
Mon, 30 Sep 2013 09:34:13 +0000 (09:34 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Mon, 30 Sep 2013 09:34:13 +0000 (09:34 +0000)
source/blender/windowmanager/intern/wm_event_system.c

index 37bcfa4f5918d12bfd5c58d1e3d45f3133833039..825c1ca9252a93395faadaca7efb8b4de1e2f227 100644 (file)
@@ -2171,7 +2171,7 @@ void wm_event_do_handlers(bContext *C)
                while ( (event = win->queue.first) ) {
                        int action = WM_HANDLER_CONTINUE;
 
-#ifdef DEBUG
+#ifndef NDEBUG
                        if (G.debug & (G_DEBUG_HANDLERS | G_DEBUG_EVENTS) && !ELEM(event->type, MOUSEMOVE, INBETWEEN_MOUSEMOVE)) {
                                printf("\n%s: Handling event\n", __func__);
                                WM_event_print(event);