From f4f92c57e80a92f121693f628bdff08b32bd06b4 Mon Sep 17 00:00:00 2001 From: deuce <> Date: Tue, 30 May 2006 04:35:56 +0000 Subject: [PATCH] Whoops, was playing a few too many games with main() --- src/xpdev/sdlfuncs.c | 1 - src/xpdev/sdlfuncs.h | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xpdev/sdlfuncs.c b/src/xpdev/sdlfuncs.c index 547fcda44e..fb943ea057 100644 --- a/src/xpdev/sdlfuncs.c +++ b/src/xpdev/sdlfuncs.c @@ -5,7 +5,6 @@ #endif #include "gen_defs.h" -#undef main #include "sdlfuncs.h" #ifndef _WIN32 diff --git a/src/xpdev/sdlfuncs.h b/src/xpdev/sdlfuncs.h index 616929eede..10219b9fc3 100644 --- a/src/xpdev/sdlfuncs.h +++ b/src/xpdev/sdlfuncs.h @@ -58,6 +58,7 @@ extern "C" { int load_sdl_funcs(struct sdlfuncs *sdlf); int init_sdl_audio(void); int init_sdl_video(void); +int SDL_main_env(int argc, char *argv[], char **env); #ifdef __cplusplus } #endif -- GitLab