about summary refs log tree commit diff stats
path: root/xombrero.c
diff options
context:
space:
mode:
authorJosh Rickmar <jrick@devio.us>2012-07-24 09:01:58 -0400
committerJosh Rickmar <jrick@devio.us>2012-07-24 09:01:58 -0400
commitb8d57558bbebccf882d2604f351174f5f7408815 (patch)
tree9dd3a025957d2d73b5a61854a45fda35bcee6305 /xombrero.c
parentb330a3405982270819ab4df43675b09360d95cc8 (diff)
downloadxombrero-b8d57558bbebccf882d2604f351174f5f7408815.tar.gz
Make this compile again with XT_DEBUG defined. Tsk tsk me
Diffstat (limited to 'xombrero.c')
-rw-r--r--xombrero.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/xombrero.c b/xombrero.c
index c84dd88..b00fd66 100644
--- a/xombrero.c
+++ b/xombrero.c
@@ -8214,19 +8214,19 @@ int			mtx_complain;
 void
 mtx_lock(void)
 {
-#ifdef DEBUG
+#ifdef XT_DEBUG
 	char		*s = NULL;
 #endif
 
 	g_static_rec_mutex_lock(&my_gdk_mtx);
 	if (my_gdk_mtx.depth <= 0) {
-#ifdef DEBUG
+#ifdef XT_DEBUG
 		s = "lock <= 0";
 #endif
 		g_static_rec_mutex_lock(&my_gdk_mtx);
 		goto complain;
 	} else if (my_gdk_mtx.depth != 1) {
-#ifdef DEBUG
+#ifdef XT_DEBUG
 		s = "lock != 1";
 #endif
 		do {
@@ -8247,17 +8247,17 @@ complain:
 void
 mtx_unlock(void)
 {
-#ifdef DEBUG
+#ifdef XT_DEBUG
 	char		*s = NULL;
 #endif
 
 	if (my_gdk_mtx.depth <= 0) {
-#ifdef DEBUG
+#ifdef XT_DEBUG
 		s = "unlock <= 0";
 #endif
 		goto complain;
 	} else if (my_gdk_mtx.depth != 1) {
-#ifdef DEBUG
+#ifdef XT_DEBUG
 		s = "unlock != 1";
 #endif
 		g_static_rec_mutex_unlock_full(&my_gdk_mtx);
e the previous revision' href='/akkartik/mu/blame/kernel.soso/framebuffer.c?h=main&id=5183a8425f22cdd43f7d3cdef21a9523f0aceb8c'>^
46bb1d31 ^











67de9b02 ^
46bb1d31 ^

67de9b02 ^
46bb1d31 ^













67de9b02 ^
46bb1d31 ^


67de9b02 ^
46bb1d31 ^

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97