comparison src/video/svga/SDL_svgavideo.c @ 1402:d910939febfa

Use consistent identifiers for the various platforms we support. Make sure every source file includes SDL_config.h, so the proper system headers are chosen.
author Sam Lantinga <slouken@libsdl.org>
date Tue, 21 Feb 2006 08:46:50 +0000
parents 19418e4422cb
children 8d9bb0cf2c2a
comparison
equal deleted inserted replaced
1401:1819fd069e89 1402:d910939febfa
17 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 17 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18 18
19 Sam Lantinga 19 Sam Lantinga
20 slouken@libsdl.org 20 slouken@libsdl.org
21 */ 21 */
22 #include "SDL_config.h"
22 23
23 /* SVGAlib based SDL video driver implementation. 24 /* SVGAlib based SDL video driver implementation.
24 */ 25 */
25 26
26 #include <unistd.h> 27 #include <unistd.h>
27 #include <sys/stat.h> 28 #include <sys/stat.h>
28 #include <sys/types.h> 29 #include <sys/types.h>
29 #include <sys/ioctl.h> 30 #include <sys/ioctl.h>
30 #include <fcntl.h> 31 #include <fcntl.h>
31 32
32 #if defined(linux) 33 #if defined(__LINUX__)
33 #include <linux/vt.h> 34 #include <linux/vt.h>
34 #elif defined(__FreeBSD__) 35 #elif defined(__FREEBSD__)
35 #include <sys/consio.h> 36 #include <sys/consio.h>
36 #else 37 #else
37 #error You must choose your operating system here 38 #error You must choose your operating system here
38 #endif 39 #endif
39 #include <vga.h> 40 #include <vga.h>