diff src/video/vgl/SDL_vglvideo.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
line wrap: on
line diff
--- a/src/video/vgl/SDL_vglvideo.c	Tue Feb 21 08:34:45 2006 +0000
+++ b/src/video/vgl/SDL_vglvideo.c	Tue Feb 21 08:46:50 2006 +0000
@@ -19,6 +19,7 @@
     Sam Lantinga
     slouken@libsdl.org
 */
+#include "SDL_config.h"
 
 /* libvga based SDL video driver implementation.
 */
@@ -548,7 +549,7 @@
     case V_INFO_MM_VGAX:
       vminfop->Type = VIDBUF8X;
       break;
-#if defined(__FreeBSD_version) && __FreeBSD_version >= 500000
+#if defined(__FREEBSD__) && __FreeBSD_version >= 500000
     case V_INFO_MM_DIRECT:
       vminfop->PixelBytes = minfo.vi_pixel_size;
       switch (vminfop->PixelBytes) {