A less rude way of doing the same thing...
authorSam Lantinga <slouken@libsdl.org>
Thu, 23 Mar 2006 21:55:13 +0000
changeset 1608 d951a5afaf07
parent 1607 932ba94c4032
child 1609 c3b5d17277d4
A less rude way of doing the same thing...
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
--- 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 */