changeset 1608:d951a5afaf07

A less rude way of doing the same thing...
author Sam Lantinga <slouken@libsdl.org>
date Thu, 23 Mar 2006 21:55:13 +0000
parents 932ba94c4032
children c3b5d17277d4
files include/SDL_config_amiga.h include/SDL_config_dreamcast.h include/SDL_config_macos.h include/SDL_config_macosx.h include/SDL_config_minimal.h include/SDL_config_os2.h include/SDL_config_win32.h
diffstat 7 files changed, 14 insertions(+), 21 deletions(-) [+]
line wrap: on
line diff
--- a/include/SDL_config_amiga.h	Thu Mar 23 21:52:47 2006 +0000
+++ b/include/SDL_config_amiga.h	Thu Mar 23 21:55:13 2006 +0000
@@ -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 */
 
--- a/include/SDL_config_dreamcast.h	Thu Mar 23 21:52:47 2006 +0000
+++ b/include/SDL_config_dreamcast.h	Thu Mar 23 21:55:13 2006 +0000
@@ -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 */
 
--- a/include/SDL_config_macos.h	Thu Mar 23 21:52:47 2006 +0000
+++ b/include/SDL_config_macos.h	Thu Mar 23 21:55:13 2006 +0000
@@ -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 */
 
--- a/include/SDL_config_macosx.h	Thu Mar 23 21:52:47 2006 +0000
+++ b/include/SDL_config_macosx.h	Thu Mar 23 21:55:13 2006 +0000
@@ -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 */
 
--- a/include/SDL_config_minimal.h	Thu Mar 23 21:52:47 2006 +0000
+++ b/include/SDL_config_minimal.h	Thu Mar 23 21:55:13 2006 +0000
@@ -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 */
 
--- a/include/SDL_config_os2.h	Thu Mar 23 21:52:47 2006 +0000
+++ b/include/SDL_config_os2.h	Thu Mar 23 21:55:13 2006 +0000
@@ -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 */
 
--- a/include/SDL_config_win32.h	Thu Mar 23 21:52:47 2006 +0000
+++ b/include/SDL_config_win32.h	Thu Mar 23 21:55:13 2006 +0000
@@ -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 */