diff --git a/hw/dmx/dmx.c b/hw/dmx/dmx.c index 0ae14a21b..4c7808de1 100644 --- a/hw/dmx/dmx.c +++ b/hw/dmx/dmx.c @@ -438,7 +438,7 @@ ProcDMXChangeScreensAttributes(ClientPtr client) value_list += count; } -#if PANORAMIX +#ifdef PANORAMIX status = dmxConfigureScreenWindows(stuff->screenCount, screen_list, attribs, &errorScreen); #endif @@ -748,7 +748,7 @@ ProcDMXChangeDesktopAttributes(ClientPtr client) dmxGetDesktopAttributes(&attr); dmxFetchDesktopAttributes(stuff->valueMask, &attr, value_list); -#if PANORAMIX +#ifdef PANORAMIX status = dmxConfigureDesktop(&attr); #endif if (status == BadValue) diff --git a/hw/dmx/dmxinit.c b/hw/dmx/dmxinit.c index d1ffcc538..8f17f4ddf 100644 --- a/hw/dmx/dmxinit.c +++ b/hw/dmx/dmxinit.c @@ -640,7 +640,7 @@ InitOutput(ScreenInfo * pScreenInfo, int argc, char *argv[]) for (i = 0; i < dmxNumScreens; i++) dmxDisplayInit(&dmxScreens[i]); -#if PANORAMIX +#ifdef PANORAMIX /* Register a Xinerama callback which will run from within * PanoramiXCreateConnectionBlock. We can use the callback to * determine if Xinerama is loaded and to check the visuals