From 98faac18d24da4b388f27486552f649466f94889 Mon Sep 17 00:00:00 2001 From: sparky Date: Sun, 5 Nov 2006 21:36:26 +0000 Subject: [PATCH] - fix for SDL_dummy_main.c (used on linux) Changed files: SDL-SDLmain-dummy.patch -> 1.1 --- SDL-SDLmain-dummy.patch | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 SDL-SDLmain-dummy.patch diff --git a/SDL-SDLmain-dummy.patch b/SDL-SDLmain-dummy.patch new file mode 100644 index 0000000..a183b6e --- /dev/null +++ b/SDL-SDLmain-dummy.patch @@ -0,0 +1,17 @@ +diff -Nur SDL-1.2.11.orig/src/main/dummy/SDL_dummy_main.c SDL-1.2.11.SDLmain-dummy/src/main/dummy/SDL_dummy_main.c +--- SDL-1.2.11.orig/src/main/dummy/SDL_dummy_main.c 2006-05-01 08:02:39.000000000 +0000 ++++ SDL-1.2.11.SDLmain-dummy/src/main/dummy/SDL_dummy_main.c 2006-11-05 21:24:13.000000000 +0000 +@@ -3,11 +3,9 @@ + #include "SDL_main.h" + + #ifdef main +-#undef main ++# undef main ++#endif + int main(int argc, char *argv[]) + { + return(SDL_main(argc, argv)); + } +-#else +-/* Nothing to do on this platform */ +-#endif -- 2.43.0