diff src/video/x11/SDL_x11video.h @ 1361:19418e4422cb

New configure-based build system. Still work in progress, but much improved
author Sam Lantinga <slouken@libsdl.org>
date Thu, 16 Feb 2006 10:11:48 +0000
parents 3692456e7b0f
children d910939febfa
line wrap: on
line diff
--- a/src/video/x11/SDL_x11video.h	Fri Feb 10 07:29:08 2006 +0000
+++ b/src/video/x11/SDL_x11video.h	Thu Feb 16 10:11:48 2006 +0000
@@ -27,20 +27,19 @@
 #include <X11/Xutil.h>
 #include <X11/Xatom.h>
 
-#ifdef XFREE86_DGAMOUSE
-#include <Xext/extensions/xf86dga.h>
+#include "SDL_mouse.h"
+#include "../SDL_sysvideo.h"
+
+#if SDL_VIDEO_DRIVER_X11_DGAMOUSE
+#include "../Xext/extensions/xf86dga.h"
 #endif
-#ifdef XFREE86_VM
-#include <Xext/extensions/xf86vmode.h>
+#if SDL_VIDEO_DRIVER_X11_VIDMODE
+#include "../Xext/extensions/xf86vmode.h"
 #endif
-#ifdef HAVE_XIGXME
-#include <Xext/extensions/xme.h>
+#if SDL_VIDEO_DRIVER_X11_XME
+#include "../Xext/extensions/xme.h"
 #endif
 
-#include <string.h>
-
-#include "SDL_mouse.h"
-#include "SDL_sysvideo.h"
 #include "SDL_x11dyn.h"
 
 /* Hidden "this" pointer for the video functions */
@@ -106,13 +105,13 @@
     int depth;			/* current visual depth (not bpp) */
 
     /* Variables used by the X11 video mode code */
-#ifdef XFREE86_VM
+#if SDL_VIDEO_DRIVER_X11_VIDMODE
     SDL_NAME(XF86VidModeModeInfo) saved_mode;
     struct {
         int x, y;
     } saved_view;
 #endif
-#ifdef HAVE_XIGXME /* XiG XME fullscreen */
+#if SDL_VIDEO_DRIVER_X11_XME /* XiG XME fullscreen */
     int use_xme;
     XiGMiscResolutionInfo saved_res;
 #endif