[PATCH app/xset] Remove unneeded include of windows.h on WIN32

Jon TURNEY jon.turney at dronecode.org.uk
Mon Oct 29 06:39:01 PDT 2012


Remove unneeded include of windows.h on WIN32, along with an attempt
at the needed wrapping, which is all done properly by Xwindows.h

(This include was also under a DPMSExtension define, for some strange
reason)

Signed-off-by: Jon TURNEY <jon.turney at dronecode.org.uk>
---
 xset.c |   13 -------------
 1 files changed, 0 insertions(+), 13 deletions(-)

diff --git a/xset.c b/xset.c
index 40fc7e1..906fa95 100644
--- a/xset.c
+++ b/xset.c
@@ -65,19 +65,6 @@ in this Software without prior written authorization from The Open Group.
 #endif
 #ifdef DPMSExtension
 # include <X11/extensions/dpms.h>
-# ifdef WIN32
-#  define BOOL wBOOL
-#  ifdef Status
-#   undef Status
-#   define Status wStatus
-#  endif
-#  include <windows.h>
-#  ifdef Status
-#   undef Status
-#   define Status int
-#  endif
-#  undef BOOL
-# endif
 #endif /* DPMSExtension */
 
 #ifdef XF86MISC
-- 
1.7.9



More information about the xorg-devel mailing list