summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorJeremy Huddleston <jeremyhu@apple.com>2011-03-23 12:07:36 -0700
committerJeremy Huddleston <jeremyhu@apple.com>2011-03-23 12:07:36 -0700
commitc116e32dc2799c4abcf38d22bc773b755387c89a (patch)
treee793a19a9c28a1388129129f6fb5cf4565767cd9 /hw
parent1a583f7940e18a8ef28ca14e74e85e0785d39067 (diff)
XQuartz: Put ifdef guards around have_depth label (-Wunused-label)
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
Diffstat (limited to 'hw')
-rw-r--r--hw/xquartz/xpr/xprScreen.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/xquartz/xpr/xprScreen.c b/hw/xquartz/xpr/xprScreen.c
index 972278b75..f6a712906 100644
--- a/hw/xquartz/xpr/xprScreen.c
+++ b/hw/xquartz/xpr/xprScreen.c
@@ -326,7 +326,9 @@ xprAddScreen(int index, ScreenPtr pScreen)
#endif
}
+#if MAC_OS_X_VERSION_MIN_REQUIRED >= 1060
have_depth:
+#endif
switch(depth) {
case 8: // pseudo-working
dfb->visuals = PseudoColorMask;