From ed6783c698112b82c61816f1be78a5b85fb3583c Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Thu, 23 Mar 2006 21:52:47 +0000 Subject: [PATCH] These files should be included from SDL_config.h (so they get SDL_platform.h) --- include/SDL_config_amiga.h | 3 +++ include/SDL_config_dreamcast.h | 3 +++ include/SDL_config_macos.h | 3 +++ include/SDL_config_macosx.h | 3 +++ include/SDL_config_minimal.h | 3 +++ include/SDL_config_os2.h | 3 +++ include/SDL_config_win32.h | 3 +++ 7 files changed, 21 insertions(+) diff --git a/include/SDL_config_amiga.h b/include/SDL_config_amiga.h index 8e8530105..3343d9536 100644 --- a/include/SDL_config_amiga.h +++ b/include/SDL_config_amiga.h @@ -22,6 +22,9 @@ #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 /* 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 77044f62b..7d53d4334 100644 --- a/include/SDL_config_dreamcast.h +++ b/include/SDL_config_dreamcast.h @@ -22,6 +22,9 @@ #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 /* 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 1b98a13a2..8f5f77a5a 100644 --- a/include/SDL_config_macos.h +++ b/include/SDL_config_macos.h @@ -22,6 +22,9 @@ #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 /* 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 460cc3075..ab9f848eb 100644 --- a/include/SDL_config_macosx.h +++ b/include/SDL_config_macosx.h @@ -22,6 +22,9 @@ #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 /* 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 2570031a7..8d707cff9 100644 --- a/include/SDL_config_minimal.h +++ b/include/SDL_config_minimal.h @@ -22,6 +22,9 @@ #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 /* 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 8e0609244..1c2067331 100644 --- a/include/SDL_config_os2.h +++ b/include/SDL_config_os2.h @@ -22,6 +22,9 @@ #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 /* 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 23a7a6c8e..89107c86c 100644 --- a/include/SDL_config_win32.h +++ b/include/SDL_config_win32.h @@ -22,6 +22,9 @@ #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 /* This is a set of defines to configure the SDL features */