Added pre-configured versions of SDL_config.h for various platforms
authorSam Lantinga <slouken@libsdl.org>
Fri, 24 Feb 2006 07:26:31 +0000
changeset 1422d2ee8da60262
parent 1421 638da75f9ab8
child 1423 4ed717f9e509
Added pre-configured versions of SDL_config.h for various platforms
include/SDL_config.h
include/SDL_config.h.minimal
include/SDL_config_amiga.h
include/SDL_config_dreamcast.h
include/SDL_config_macos.h
include/SDL_config_macosx.h
include/SDL_config_win32.h
include/SDL_platform.h
include/SDL_stdinc.h
src/loadso/dummy/SDL_sysloadso.c
     1.1 --- a/include/SDL_config.h	Fri Feb 24 06:49:31 2006 +0000
     1.2 +++ b/include/SDL_config.h	Fri Feb 24 07:26:31 2006 +0000
     1.3 @@ -23,10 +23,22 @@
     1.4  #ifndef _SDL_config_h
     1.5  #define _SDL_config_h
     1.6  
     1.7 +#include "SDL_platform.h"
     1.8 +
     1.9 +/* Add any platform that doesn't build using the configure system */
    1.10 +#if defined(__AMIGA__)
    1.11 +#include "SDL_config_amiga.h"
    1.12 +#elif defined(__DREAMCAST__)
    1.13 +#include "SDL_config_dreamcast.h"
    1.14 +#elif defined(__MACOS__)
    1.15 +#include "SDL_config_macos.h"
    1.16 +#elif defined(__MACOSX__)
    1.17 +#include "SDL_config_macosx.h"
    1.18 +#elif defined(__WIN32__)
    1.19 +#include "SDL_config_win32.h"
    1.20 +#else
    1.21  /* This is the minimal configuration that can be used to build SDL */
    1.22  
    1.23 -#include "SDL_platform.h"
    1.24 -
    1.25  #include <stdarg.h>
    1.26  
    1.27  typedef signed char int8_t;
    1.28 @@ -37,5 +49,6 @@
    1.29  typedef unsigned int uint32_t;
    1.30  typedef unsigned int size_t;
    1.31  typedef unsigned long uintptr_t;
    1.32 +#endif
    1.33  
    1.34  #endif /* _SDL_config_h */
     2.1 --- a/include/SDL_config.h.minimal	Fri Feb 24 06:49:31 2006 +0000
     2.2 +++ b/include/SDL_config.h.minimal	Fri Feb 24 07:26:31 2006 +0000
     2.3 @@ -23,10 +23,22 @@
     2.4  #ifndef _SDL_config_h
     2.5  #define _SDL_config_h
     2.6  
     2.7 +#include "SDL_platform.h"
     2.8 +
     2.9 +/* Add any platform that doesn't build using the configure system */
    2.10 +#if defined(__AMIGA__)
    2.11 +#include "SDL_config_amiga.h"
    2.12 +#elif defined(__DREAMCAST__)
    2.13 +#include "SDL_config_dreamcast.h"
    2.14 +#elif defined(__MACOS__)
    2.15 +#include "SDL_config_macos.h"
    2.16 +#elif defined(__MACOSX__)
    2.17 +#include "SDL_config_macosx.h"
    2.18 +#elif defined(__WIN32__)
    2.19 +#include "SDL_config_win32.h"
    2.20 +#else
    2.21  /* This is the minimal configuration that can be used to build SDL */
    2.22  
    2.23 -#include "SDL_platform.h"
    2.24 -
    2.25  #include <stdarg.h>
    2.26  
    2.27  typedef signed char int8_t;
    2.28 @@ -37,5 +49,6 @@
    2.29  typedef unsigned int uint32_t;
    2.30  typedef unsigned int size_t;
    2.31  typedef unsigned long uintptr_t;
    2.32 +#endif
    2.33  
    2.34  #endif /* _SDL_config_h */
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/include/SDL_config_amiga.h	Fri Feb 24 07:26:31 2006 +0000
     3.3 @@ -0,0 +1,77 @@
     3.4 +/*
     3.5 +    SDL - Simple DirectMedia Layer
     3.6 +    Copyright (C) 1997-2006 Sam Lantinga
     3.7 +
     3.8 +    This library is free software; you can redistribute it and/or
     3.9 +    modify it under the terms of the GNU Lesser General Public
    3.10 +    License as published by the Free Software Foundation; either
    3.11 +    version 2.1 of the License, or (at your option) any later version.
    3.12 +
    3.13 +    This library is distributed in the hope that it will be useful,
    3.14 +    but WITHOUT ANY WARRANTY; without even the implied warranty of
    3.15 +    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    3.16 +    Lesser General Public License for more details.
    3.17 +
    3.18 +    You should have received a copy of the GNU Lesser General Public
    3.19 +    License along with this library; if not, write to the Free Software
    3.20 +    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
    3.21 +
    3.22 +    Sam Lantinga
    3.23 +    slouken@libsdl.org
    3.24 +*/
    3.25 +
    3.26 +#ifndef _SDL_config_amiga_h
    3.27 +#define _SDL_config_amiga_h
    3.28 +
    3.29 +/* This is a set of defines to configure the SDL features */
    3.30 +
    3.31 +#define SDL_HAS_64BIT_TYPE	1
    3.32 +
    3.33 +/* Useful headers */
    3.34 +#define HAVE_SYS_TYPES_H	1
    3.35 +#define HAVE_STDIO_H	1
    3.36 +#define STDC_HEADERS	1
    3.37 +#define HAVE_STRING_H	1
    3.38 +#define HAVE_INTTYPES_H	1
    3.39 +#define HAVE_SIGNAL_H	1
    3.40 +
    3.41 +/* C library functions */
    3.42 +#define HAVE_MALLOC	1
    3.43 +#define HAVE_CALLOC	1
    3.44 +#define HAVE_REALLOC	1
    3.45 +#define HAVE_FREE	1
    3.46 +#define HAVE_ALLOCA	1
    3.47 +#define HAVE_GETENV	1
    3.48 +#define HAVE_PUTENV	1
    3.49 +#define HAVE_MEMSET	1
    3.50 +#define HAVE_MEMCPY	1
    3.51 +#define HAVE_MEMMOVE	1
    3.52 +#define HAVE_MEMCMP	1
    3.53 +
    3.54 +/* Enable various audio drivers */
    3.55 +#define SDL_AUDIO_DRIVER_AHI	1
    3.56 +#define SDL_AUDIO_DRIVER_DISK	1
    3.57 +
    3.58 +/* Enable various cdrom drivers */
    3.59 +#define SDL_CDROM_DUMMY	1
    3.60 +
    3.61 +/* Enable various input drivers */
    3.62 +#define SDL_JOYSTICK_AMIGA	1
    3.63 +
    3.64 +/* Enable various shared object loading systems */
    3.65 +#define SDL_LOADSO_DUMMY	1
    3.66 +
    3.67 +/* Enable various threading systems */
    3.68 +#define SDL_THREAD_AMIGA	1
    3.69 +
    3.70 +/* Enable various timer systems */
    3.71 +#define SDL_TIMER_AMIGA	1
    3.72 +
    3.73 +/* Enable various video drivers */
    3.74 +#define SDL_VIDEO_DRIVER_CYBERGRAPHICS	1
    3.75 +#define SDL_VIDEO_DRIVER_DUMMY	1
    3.76 +
    3.77 +/* Enable OpenGL support */
    3.78 +#define SDL_VIDEO_OPENGL	1
    3.79 +
    3.80 +#endif /* _SDL_config_amiga_h */
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/include/SDL_config_dreamcast.h	Fri Feb 24 07:26:31 2006 +0000
     4.3 @@ -0,0 +1,76 @@
     4.4 +/*
     4.5 +    SDL - Simple DirectMedia Layer
     4.6 +    Copyright (C) 1997-2006 Sam Lantinga
     4.7 +
     4.8 +    This library is free software; you can redistribute it and/or
     4.9 +    modify it under the terms of the GNU Lesser General Public
    4.10 +    License as published by the Free Software Foundation; either
    4.11 +    version 2.1 of the License, or (at your option) any later version.
    4.12 +
    4.13 +    This library is distributed in the hope that it will be useful,
    4.14 +    but WITHOUT ANY WARRANTY; without even the implied warranty of
    4.15 +    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    4.16 +    Lesser General Public License for more details.
    4.17 +
    4.18 +    You should have received a copy of the GNU Lesser General Public
    4.19 +    License along with this library; if not, write to the Free Software
    4.20 +    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
    4.21 +
    4.22 +    Sam Lantinga
    4.23 +    slouken@libsdl.org
    4.24 +*/
    4.25 +
    4.26 +#ifndef _SDL_config_dreamcast_h
    4.27 +#define _SDL_config_dreamcast_h
    4.28 +
    4.29 +/* This is a set of defines to configure the SDL features */
    4.30 +
    4.31 +#define SDL_HAS_64BIT_TYPE	1
    4.32 +
    4.33 +/* Useful headers */
    4.34 +#define HAVE_SYS_TYPES_H	1
    4.35 +#define HAVE_STDIO_H	1
    4.36 +#define STDC_HEADERS	1
    4.37 +#define HAVE_STRING_H	1
    4.38 +#define HAVE_INTTYPES_H	1
    4.39 +#define HAVE_SIGNAL_H	1
    4.40 +
    4.41 +/* C library functions */
    4.42 +#define HAVE_MALLOC	1
    4.43 +#define HAVE_CALLOC	1
    4.44 +#define HAVE_REALLOC	1
    4.45 +#define HAVE_FREE	1
    4.46 +#define HAVE_ALLOCA	1
    4.47 +#ifndef _WIN32 /* Don't use C runtime versions of these on Windows */
    4.48 +#define HAVE_GETENV	1
    4.49 +#define HAVE_PUTENV	1
    4.50 +#endif
    4.51 +#define HAVE_MEMSET	1
    4.52 +#define HAVE_MEMCPY	1
    4.53 +#define HAVE_MEMMOVE	1
    4.54 +#define HAVE_MEMCMP	1
    4.55 +
    4.56 +/* Enable various audio drivers */
    4.57 +#define SDL_AUDIO_DRIVER_DC	1
    4.58 +#define SDL_AUDIO_DRIVER_DISK	1
    4.59 +
    4.60 +/* Enable various cdrom drivers */
    4.61 +#define SDL_CDROM_DC	1
    4.62 +
    4.63 +/* Enable various input drivers */
    4.64 +#define SDL_JOYSTICK_DC	1
    4.65 +
    4.66 +/* Enable various shared object loading systems */
    4.67 +#define SDL_LOADSO_DUMMY	1
    4.68 +
    4.69 +/* Enable various threading systems */
    4.70 +#define SDL_THREAD_DC	1
    4.71 +
    4.72 +/* Enable various timer systems */
    4.73 +#define SDL_TIMER_DC	1
    4.74 +
    4.75 +/* Enable various video drivers */
    4.76 +#define SDL_VIDEO_DRIVER_DC	1
    4.77 +#define SDL_VIDEO_DRIVER_DUMMY	1
    4.78 +
    4.79 +#endif /* _SDL_config_dreamcast_h */
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/include/SDL_config_macos.h	Fri Feb 24 07:26:31 2006 +0000
     5.3 @@ -0,0 +1,80 @@
     5.4 +/*
     5.5 +    SDL - Simple DirectMedia Layer
     5.6 +    Copyright (C) 1997-2006 Sam Lantinga
     5.7 +
     5.8 +    This library is free software; you can redistribute it and/or
     5.9 +    modify it under the terms of the GNU Lesser General Public
    5.10 +    License as published by the Free Software Foundation; either
    5.11 +    version 2.1 of the License, or (at your option) any later version.
    5.12 +
    5.13 +    This library is distributed in the hope that it will be useful,
    5.14 +    but WITHOUT ANY WARRANTY; without even the implied warranty of
    5.15 +    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    5.16 +    Lesser General Public License for more details.
    5.17 +
    5.18 +    You should have received a copy of the GNU Lesser General Public
    5.19 +    License along with this library; if not, write to the Free Software
    5.20 +    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
    5.21 +
    5.22 +    Sam Lantinga
    5.23 +    slouken@libsdl.org
    5.24 +*/
    5.25 +
    5.26 +#ifndef _SDL_config_macos_h
    5.27 +#define _SDL_config_macos_h
    5.28 +
    5.29 +/* This is a set of defines to configure the SDL features */
    5.30 +
    5.31 +#define SDL_HAS_64BIT_TYPE	1
    5.32 +
    5.33 +/* Useful headers */
    5.34 +#define HAVE_SYS_TYPES_H	1
    5.35 +#define HAVE_STDIO_H	1
    5.36 +#define STDC_HEADERS	1
    5.37 +#define HAVE_STRING_H	1
    5.38 +#define HAVE_INTTYPES_H	1
    5.39 +#define HAVE_SIGNAL_H	1
    5.40 +
    5.41 +/* C library functions */
    5.42 +#define HAVE_MALLOC	1
    5.43 +#define HAVE_CALLOC	1
    5.44 +#define HAVE_REALLOC	1
    5.45 +#define HAVE_FREE	1
    5.46 +#define HAVE_ALLOCA	1
    5.47 +#ifndef _WIN32 /* Don't use C runtime versions of these on Windows */
    5.48 +#define HAVE_GETENV	1
    5.49 +#define HAVE_PUTENV	1
    5.50 +#endif
    5.51 +#define HAVE_MEMSET	1
    5.52 +#define HAVE_MEMCPY	1
    5.53 +#define HAVE_MEMMOVE	1
    5.54 +#define HAVE_MEMCMP	1
    5.55 +
    5.56 +/* Enable various audio drivers */
    5.57 +#define SDL_AUDIO_DRIVER_DISK	1
    5.58 +#define SDL_AUDIO_DRIVER_SNDMGR	1
    5.59 +
    5.60 +/* Enable various cdrom drivers */
    5.61 +#define SDL_CDROM_MACOS	1
    5.62 +
    5.63 +/* Enable various input drivers */
    5.64 +#define SDL_JOYSTICK_MACOS	1
    5.65 +
    5.66 +/* Enable various shared object loading systems */
    5.67 +#define SDL_LOADSO_MACOS	1
    5.68 +
    5.69 +/* Enable various threading systems */
    5.70 +#define SDL_THREAD_DISABLED	1
    5.71 +
    5.72 +/* Enable various timer systems */
    5.73 +#define SDL_TIMER_MACOS	1
    5.74 +
    5.75 +/* Enable various video drivers */
    5.76 +#define SDL_VIDEO_DRIVER_DRAWSPROCKET	1
    5.77 +#define SDL_VIDEO_DRIVER_DUMMY	1
    5.78 +#define SDL_VIDEO_DRIVER_TOOLBOX	1
    5.79 +
    5.80 +/* Enable OpenGL support */
    5.81 +#define SDL_VIDEO_OPENGL	1
    5.82 +
    5.83 +#endif /* _SDL_config_macos_h */
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/include/SDL_config_macosx.h	Fri Feb 24 07:26:31 2006 +0000
     6.3 @@ -0,0 +1,84 @@
     6.4 +/*
     6.5 +    SDL - Simple DirectMedia Layer
     6.6 +    Copyright (C) 1997-2006 Sam Lantinga
     6.7 +
     6.8 +    This library is free software; you can redistribute it and/or
     6.9 +    modify it under the terms of the GNU Lesser General Public
    6.10 +    License as published by the Free Software Foundation; either
    6.11 +    version 2.1 of the License, or (at your option) any later version.
    6.12 +
    6.13 +    This library is distributed in the hope that it will be useful,
    6.14 +    but WITHOUT ANY WARRANTY; without even the implied warranty of
    6.15 +    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    6.16 +    Lesser General Public License for more details.
    6.17 +
    6.18 +    You should have received a copy of the GNU Lesser General Public
    6.19 +    License along with this library; if not, write to the Free Software
    6.20 +    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
    6.21 +
    6.22 +    Sam Lantinga
    6.23 +    slouken@libsdl.org
    6.24 +*/
    6.25 +
    6.26 +#ifndef _SDL_config_macosx_h
    6.27 +#define _SDL_config_macosx_h
    6.28 +
    6.29 +/* This is a set of defines to configure the SDL features */
    6.30 +
    6.31 +#define SDL_HAS_64BIT_TYPE	1
    6.32 +
    6.33 +/* Useful headers */
    6.34 +#define HAVE_SYS_TYPES_H	1
    6.35 +#define HAVE_STDIO_H	1
    6.36 +#define STDC_HEADERS	1
    6.37 +#define HAVE_STRING_H	1
    6.38 +#define HAVE_INTTYPES_H	1
    6.39 +#define HAVE_SIGNAL_H	1
    6.40 +
    6.41 +/* C library functions */
    6.42 +#define HAVE_MALLOC	1
    6.43 +#define HAVE_CALLOC	1
    6.44 +#define HAVE_REALLOC	1
    6.45 +#define HAVE_FREE	1
    6.46 +#define HAVE_ALLOCA	1
    6.47 +#ifndef _WIN32 /* Don't use C runtime versions of these on Windows */
    6.48 +#define HAVE_GETENV	1
    6.49 +#define HAVE_PUTENV	1
    6.50 +#endif
    6.51 +#define HAVE_MEMSET	1
    6.52 +#define HAVE_MEMCPY	1
    6.53 +#define HAVE_MEMMOVE	1
    6.54 +#define HAVE_MEMCMP	1
    6.55 +
    6.56 +/* Enable various audio drivers */
    6.57 +#define SDL_AUDIO_DRIVER_COREAUDIO	1
    6.58 +#define SDL_AUDIO_DRIVER_DISK	1
    6.59 +#define SDL_AUDIO_DRIVER_SNDMGR	1
    6.60 +
    6.61 +/* Enable various cdrom drivers */
    6.62 +#define SDL_CDROM_MACOSX	1
    6.63 +
    6.64 +/* Enable various input drivers */
    6.65 +#define SDL_JOYSTICK_IOKIT	1
    6.66 +
    6.67 +/* Enable various shared object loading systems */
    6.68 +#define SDL_LOADSO_DLOPEN	1
    6.69 +
    6.70 +/* Enable various threading systems */
    6.71 +#define SDL_THREAD_PTHREAD	1
    6.72 +#define SDL_THREAD_PTHREAD_RECURSIVE_MUTEX	1
    6.73 +
    6.74 +/* Enable various timer systems */
    6.75 +#define SDL_TIMER_UNIX	1
    6.76 +
    6.77 +/* Enable various video drivers */
    6.78 +#define SDL_VIDEO_DRIVER_QUARTZ	1
    6.79 +
    6.80 +/* Enable OpenGL support */
    6.81 +#define SDL_VIDEO_OPENGL	1
    6.82 +
    6.83 +/* Enable assembly routines */
    6.84 +#define SDL_ASSEMBLY_ROUTINES	1
    6.85 +#define SDL_ALTIVEC_BLITTERS	1
    6.86 +
    6.87 +#endif /* _SDL_config_macosx_h */
     7.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.2 +++ b/include/SDL_config_win32.h	Fri Feb 24 07:26:31 2006 +0000
     7.3 @@ -0,0 +1,78 @@
     7.4 +/*
     7.5 +    SDL - Simple DirectMedia Layer
     7.6 +    Copyright (C) 1997-2006 Sam Lantinga
     7.7 +
     7.8 +    This library is free software; you can redistribute it and/or
     7.9 +    modify it under the terms of the GNU Lesser General Public
    7.10 +    License as published by the Free Software Foundation; either
    7.11 +    version 2.1 of the License, or (at your option) any later version.
    7.12 +
    7.13 +    This library is distributed in the hope that it will be useful,
    7.14 +    but WITHOUT ANY WARRANTY; without even the implied warranty of
    7.15 +    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    7.16 +    Lesser General Public License for more details.
    7.17 +
    7.18 +    You should have received a copy of the GNU Lesser General Public
    7.19 +    License along with this library; if not, write to the Free Software
    7.20 +    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
    7.21 +
    7.22 +    Sam Lantinga
    7.23 +    slouken@libsdl.org
    7.24 +*/
    7.25 +
    7.26 +#ifndef _SDL_config_win32_h
    7.27 +#define _SDL_config_win32_h
    7.28 +
    7.29 +/* This is a set of defines to configure the SDL features */
    7.30 +
    7.31 +#define SDL_HAS_64BIT_TYPE	1
    7.32 +
    7.33 +/* Useful headers */
    7.34 +#define HAVE_STDARG_H	1
    7.35 +#define HAVE_STDDEF_H	1
    7.36 +#define HAVE_INTTYPES_H	1
    7.37 +
    7.38 +/* Enable various audio drivers */
    7.39 +#define SDL_AUDIO_DRIVER_DISK	1
    7.40 +#ifndef _WIN32_WCE
    7.41 +#define SDL_AUDIO_DRIVER_DSOUND	1
    7.42 +#endif
    7.43 +#define SDL_AUDIO_DRIVER_WAVEOUT	1
    7.44 +
    7.45 +/* Enable various cdrom drivers */
    7.46 +#define SDL_CDROM_WIN32	1
    7.47 +
    7.48 +/* Enable various input drivers */
    7.49 +#define SDL_JOYSTICK_WINMM	1
    7.50 +
    7.51 +/* Enable various shared object loading systems */
    7.52 +#define SDL_LOADSO_WIN32	1
    7.53 +
    7.54 +/* Enable various threading systems */
    7.55 +#define SDL_THREAD_WIN32	1
    7.56 +
    7.57 +/* Enable various timer systems */
    7.58 +#ifdef _WIN32_WCE
    7.59 +#define SDL_TIMER_WINCE	1
    7.60 +#else
    7.61 +#define SDL_TIMER_WIN32	1
    7.62 +#endif
    7.63 +
    7.64 +/* Enable various video drivers */
    7.65 +#ifndef _WIN32_WCE
    7.66 +#define SDL_VIDEO_DRIVER_DDRAW	1
    7.67 +#endif
    7.68 +#define SDL_VIDEO_DRIVER_DUMMY	1
    7.69 +#ifdef _WIN32_WCE
    7.70 +#define SDL_VIDEO_DRIVER_GAPI	1
    7.71 +#endif
    7.72 +#define SDL_VIDEO_DRIVER_WINDIB	1
    7.73 +
    7.74 +/* Enable OpenGL support */
    7.75 +#define SDL_VIDEO_OPENGL	1
    7.76 +#define SDL_VIDEO_OPENGL_WGL	1
    7.77 +
    7.78 +/* Enable assembly routines */
    7.79 +#define SDL_ASSEMBLY_ROUTINES	1
    7.80 +
    7.81 +#endif /* _SDL_config_win32_h */
     8.1 --- a/include/SDL_platform.h	Fri Feb 24 06:49:31 2006 +0000
     8.2 +++ b/include/SDL_platform.h	Fri Feb 24 07:26:31 2006 +0000
     8.3 @@ -30,7 +30,6 @@
     8.4  #define __AIX__		1
     8.5  #endif
     8.6  #if defined(AMIGA) || defined(__AMIGA) || defined(__amigados__)
     8.7 -/* FIXME: is this the right test for AmigaOS? */
     8.8  #undef __AMIGA__
     8.9  #define __AMIGA__	1
    8.10  #endif
    8.11 @@ -43,7 +42,6 @@
    8.12  #define __BSDI__	1
    8.13  #endif
    8.14  #if defined(DREAMCAST)
    8.15 -/* FIXME: is this the right test for Dreamcast? */
    8.16  #undef __DREAMCAST__
    8.17  #define __DREAMCAST__	1
    8.18  #endif
    8.19 @@ -97,7 +95,6 @@
    8.20  #define __RISCOS__	1
    8.21  #endif
    8.22  #if defined(solaris) || defined(__solaris) || defined(__solaris__)
    8.23 -/* FIXME: is this the right test for Solaris? Check SDL_sunaudio.c */
    8.24  #undef __SOLARIS__
    8.25  #define __SOLARIS__	1
    8.26  #endif
     9.1 --- a/include/SDL_stdinc.h	Fri Feb 24 06:49:31 2006 +0000
     9.2 +++ b/include/SDL_stdinc.h	Fri Feb 24 07:26:31 2006 +0000
     9.3 @@ -44,6 +44,9 @@
     9.4  # elif HAVE_MALLOC_H
     9.5  # include <malloc.h>
     9.6  # endif
     9.7 +# if HAVE_STDDEF_H
     9.8 +# include <stddef.h>
     9.9 +# endif
    9.10  # if HAVE_STDARG_H
    9.11  # include <stdarg.h>
    9.12  # endif
    10.1 --- a/src/loadso/dummy/SDL_sysloadso.c	Fri Feb 24 06:49:31 2006 +0000
    10.2 +++ b/src/loadso/dummy/SDL_sysloadso.c	Fri Feb 24 07:26:31 2006 +0000
    10.3 @@ -35,7 +35,7 @@
    10.4  
    10.5  void *SDL_LoadFunction(void *handle, const char *name)
    10.6  {
    10.7 -	const char *loaderror = "SDL_LoadFunction not implemented";
    10.8 +	const char *loaderror = "SDL_LoadFunction() not implemented";
    10.9  	SDL_SetError("Failed loading %s: %s", name, loaderror);
   10.10  	return(NULL);
   10.11  }