From c93b9bbbb4cd3ab5b54be6e64d873a03ac2f8adb Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Thu, 23 Mar 2006 21:55:13 +0000 Subject: [PATCH] A less rude way of doing the same thing... --- include/SDL_config_amiga.h | 5 ++--- include/SDL_config_dreamcast.h | 5 ++--- include/SDL_config_macos.h | 5 ++--- include/SDL_config_macosx.h | 5 ++--- include/SDL_config_minimal.h | 5 ++--- include/SDL_config_os2.h | 5 ++--- include/SDL_config_win32.h | 5 ++--- 7 files changed, 14 insertions(+), 21 deletions(-) diff --git a/include/SDL_config_amiga.h b/include/SDL_config_amiga.h index 3343d9536..23e086192 100644 --- a/include/SDL_config_amiga.h +++ b/include/SDL_config_amiga.h @@ -22,9 +22,8 @@ #ifndef _SDL_config_amiga_h #define _SDL_config_amiga_h -#ifndef _SDL_config_h -#error This file should be included from SDL_config.h - Copy SDL_config.h.default to SDL_config.h? -#endif + +#include "SDL_platform.h" /* This is a set of defines to configure the SDL features */ diff --git a/include/SDL_config_dreamcast.h b/include/SDL_config_dreamcast.h index 7d53d4334..9cbeea316 100644 --- a/include/SDL_config_dreamcast.h +++ b/include/SDL_config_dreamcast.h @@ -22,9 +22,8 @@ #ifndef _SDL_config_dreamcast_h #define _SDL_config_dreamcast_h -#ifndef _SDL_config_h -#error This file should be included from SDL_config.h - Copy SDL_config.h.default to SDL_config.h? -#endif + +#include "SDL_platform.h" /* This is a set of defines to configure the SDL features */ diff --git a/include/SDL_config_macos.h b/include/SDL_config_macos.h index 8f5f77a5a..ae758ea2c 100644 --- a/include/SDL_config_macos.h +++ b/include/SDL_config_macos.h @@ -22,9 +22,8 @@ #ifndef _SDL_config_macos_h #define _SDL_config_macos_h -#ifndef _SDL_config_h -#error This file should be included from SDL_config.h - Copy SDL_config.h.default to SDL_config.h? -#endif + +#include "SDL_platform.h" /* This is a set of defines to configure the SDL features */ diff --git a/include/SDL_config_macosx.h b/include/SDL_config_macosx.h index ab9f848eb..5e89e4440 100644 --- a/include/SDL_config_macosx.h +++ b/include/SDL_config_macosx.h @@ -22,9 +22,8 @@ #ifndef _SDL_config_macosx_h #define _SDL_config_macosx_h -#ifndef _SDL_config_h -#error This file should be included from SDL_config.h - Copy SDL_config.h.default to SDL_config.h? -#endif + +#include "SDL_platform.h" /* This is a set of defines to configure the SDL features */ diff --git a/include/SDL_config_minimal.h b/include/SDL_config_minimal.h index 8d707cff9..78b6148ca 100644 --- a/include/SDL_config_minimal.h +++ b/include/SDL_config_minimal.h @@ -22,9 +22,8 @@ #ifndef _SDL_config_minimal_h #define _SDL_config_minimal_h -#ifndef _SDL_config_h -#error This file should be included from SDL_config.h - Copy SDL_config.h.default to SDL_config.h? -#endif + +#include "SDL_platform.h" /* This is the minimal configuration that can be used to build SDL */ diff --git a/include/SDL_config_os2.h b/include/SDL_config_os2.h index 1c2067331..8cdea9ff2 100644 --- a/include/SDL_config_os2.h +++ b/include/SDL_config_os2.h @@ -22,9 +22,8 @@ #ifndef _SDL_config_os2_h #define _SDL_config_os2_h -#ifndef _SDL_config_h -#error This file should be included from SDL_config.h - Copy SDL_config.h.default to SDL_config.h? -#endif + +#include "SDL_platform.h" /* This is a set of defines to configure the SDL features */ diff --git a/include/SDL_config_win32.h b/include/SDL_config_win32.h index 89107c86c..93d9c09dd 100644 --- a/include/SDL_config_win32.h +++ b/include/SDL_config_win32.h @@ -22,9 +22,8 @@ #ifndef _SDL_config_win32_h #define _SDL_config_win32_h -#ifndef _SDL_config_h -#error This file should be included from SDL_config.h - Copy SDL_config.h.default to SDL_config.h? -#endif + +#include "SDL_platform.h" /* This is a set of defines to configure the SDL features */