diff --git a/hw/xfree86/common/xf86.h b/hw/xfree86/common/xf86.h index ebd5d69c9..afa733953 100644 --- a/hw/xfree86/common/xf86.h +++ b/hw/xfree86/common/xf86.h @@ -74,8 +74,6 @@ extern _X_EXPORT int platformSlotClaimed; #define XF86SCRNINFO(p) xf86ScreenToScrn(p) -#define BOOLTOSTRING(b) ((b) ? "TRUE" : "FALSE") - /* Compatibility functions for pre-input-thread drivers */ static inline _X_DEPRECATED int xf86BlockSIGIO(void) { input_lock(); return 0; } static inline _X_DEPRECATED void xf86UnblockSIGIO(int wasset) { input_unlock(); } diff --git a/hw/xfree86/common/xf86Events.c b/hw/xfree86/common/xf86Events.c index 4be73058a..2c2b5567f 100644 --- a/hw/xfree86/common/xf86Events.c +++ b/hw/xfree86/common/xf86Events.c @@ -359,7 +359,7 @@ xf86VTLeave(void) IHPtr ih; DebugF("xf86VTSwitch: Leaving, xf86Exiting is %s\n", - BOOLTOSTRING((dispatchException & DE_TERMINATE) ? TRUE : FALSE)); + (dispatchException & DE_TERMINATE) ? "TRUE" : "FALSE"); #ifdef DPMSExtension if (DPMSPowerLevel != DPMSModeOn) DPMSSet(serverClient, DPMSModeOn);