author Ryan C. Gordon
Thu, 18 Aug 2005 06:06:02 +0000
changeset 1118 65f4b2dd46b7
parent 453 a6fa62b1be09
child 1251 86d0d01290ea
permissions -rw-r--r--
Date: Wed, 17 Aug 2005 11:23:40 -0400
From: Matt L <>
To: "Ryan C. Gordon" <>
Subject: SDL Patch


I saw your last call on the mailing list. Here's a patch which I
submitted about two weeks ago which hasn't made it in.

In the current sdl.m4, there's a bug where if your, you
have AC_LANG(C++) specified, it won't properly compile and link the SDL
test program when you run the configure script. This is because only the
default CFLAGS is overriden in sdl.m4, and in the patch below, I've
fixed it so it overrides CXXFLAGS as well, allowing it to work with g++.
     2 Project files for embedded Visual C++ 4.0 can be found in
     4 NOTE:
     5 There are several SDL features not available in the WinCE port of SDL.
     7 - DirectX is not yet available
     8 - Semaphores are not available
     9 - Joystick support is not available
    10 - CD-ROM control is not available
    12 In addition, there are several features that run in "degraded" mode:
    14 Preprocessor Symbol		Effect
    15 ===================		=================================
    17 SDL_systimer.c:
    18 USE_GETTICKCOUNT		Less accurate values for SDL time functions
    19 USE_SETTIMER			Use only a single marginally accurate timer
    21 SDL_syswm.c:
    22 DISABLE_ICON_SUPPORT		Can't set the runtime window icon
    24 SDL_sysmouse.c:
    25 USE_STATIC_CURSOR		Only the arrow cursor is available
    27 SDL_sysevents.c:
    28 NO_GETKEYBOARDSTATE		Can't get modifier state on keyboard focus
    30 SDL_dibevents.c:
    31 NO_GETKEYBOARDSTATE		Very limited keycode translation
    33 SDL_dibvideo.c:
    34 NO_GETDIBITS			Can't distinguish between 15 bpp and 16 bpp
    35 NO_CHANGEDISPLAYSETTINGS	No fullscreen support
    36 NO_GAMMA_SUPPORT		Gamma correction not available