summaryrefslogtreecommitdiff
path: root/hw/xwin
diff options
context:
space:
mode:
authorAlexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de>2004-05-27 13:49:40 +0000
committerAlexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de>2004-05-27 13:49:40 +0000
commit9afe489dff85e9e13608e70625c05be8f68f4972 (patch)
treecbd4e58e645dff1d6596214f04225522c1e2bb29 /hw/xwin
parent291d2f8e981039eb8812ab7bfc4cb9cdbdd2c128 (diff)
Make debug conditionals definable in Makefiles
Diffstat (limited to 'hw/xwin')
-rw-r--r--hw/xwin/ChangeLog5
-rw-r--r--hw/xwin/win.h2
-rw-r--r--hw/xwin/winwindow.h4
3 files changed, 11 insertions, 0 deletions
diff --git a/hw/xwin/ChangeLog b/hw/xwin/ChangeLog
index 9abc7161d..8871430b5 100644
--- a/hw/xwin/ChangeLog
+++ b/hw/xwin/ChangeLog
@@ -1,3 +1,8 @@
+2004-05-27 Alexander Gottwald <ago@freedesktop.org>
+
+ * win.h: Allow CYGDEBUG to defined in the Makefile
+ * winwindow.h: Allow CYGWINDOWING_DEBUG to defined in the Makefile
+
2004-05-19 Alexander Gottwald <ago@freedesktop.org>
* winmultiwindowicons.c (winInitGlobalIcons): Load the small default
diff --git a/hw/xwin/win.h b/hw/xwin/win.h
index 54ddae354..46ccb7884 100644
--- a/hw/xwin/win.h
+++ b/hw/xwin/win.h
@@ -44,7 +44,9 @@
#endif
/* Turn debug messages on or off */
+#ifndef CYGDEBUG
#define CYGDEBUG NO
+#endif
#define NEED_EVENTS
diff --git a/hw/xwin/winwindow.h b/hw/xwin/winwindow.h
index 50d5f01fb..b4a92187a 100644
--- a/hw/xwin/winwindow.h
+++ b/hw/xwin/winwindow.h
@@ -50,8 +50,12 @@
#define WIN_WID_PROP "cyg_wid_prop_rl"
#define WIN_NEEDMANAGE_PROP "cyg_override_redirect_prop_rl"
#define WIN_HWND_CACHE "cyg_privmap_rl"
+#ifndef CYGMULTIWINDOW_DEBUG
#define CYGMULTIWINDOW_DEBUG NO
+#endif
+#ifndef CYGWINDOWING_DEBUG
#define CYGWINDOWING_DEBUG NO
+#endif
typedef struct _winPrivScreenRec *winPrivScreenPtr;