Mercurial > sdl-ios-xcode
comparison src/video/x11/SDL_x11video.h @ 1791:5652192b9c8b
Fixed build errors on systems without the DPMS extension
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 09 May 2006 07:45:12 +0000 |
parents | c546353b1ad4 |
children | c121d94672cb c5c3c772f5aa |
comparison
equal
deleted
inserted
replaced
1790:828a17e05192 | 1791:5652192b9c8b |
---|---|
155 | 155 |
156 short *iconcolors; /* List of colors used by the icon */ | 156 short *iconcolors; /* List of colors used by the icon */ |
157 | 157 |
158 /* Screensaver settings */ | 158 /* Screensaver settings */ |
159 int screensaver_timeout; | 159 int screensaver_timeout; |
160 #if SDL_VIDEO_DRIVER_X11_DPMS | |
161 BOOL dpms_enabled; | 160 BOOL dpms_enabled; |
162 #endif | |
163 }; | 161 }; |
164 | 162 |
165 /* Old variable names */ | 163 /* Old variable names */ |
166 #define local_X11 (this->hidden->local_X11) | 164 #define local_X11 (this->hidden->local_X11) |
167 #define SDL_Display (this->hidden->X11_Display) | 165 #define SDL_Display (this->hidden->X11_Display) |