XQuartz: Put ifdef guards around have_depth label (-Wunused-label)

Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
This commit is contained in:
Jeremy Huddleston 2011-03-23 12:07:36 -07:00
parent 1a583f7940
commit c116e32dc2

View File

@ -326,7 +326,9 @@ xprAddScreen(int index, ScreenPtr pScreen)
#endif #endif
} }
#if MAC_OS_X_VERSION_MIN_REQUIRED >= 1060
have_depth: have_depth:
#endif
switch(depth) { switch(depth) {
case 8: // pseudo-working case 8: // pseudo-working
dfb->visuals = PseudoColorMask; dfb->visuals = PseudoColorMask;