From 101d38bd0cbcc7456218265722bbe6a566a7be7f Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Tue, 28 May 2002 03:33:03 +0000 Subject: [PATCH] two win32 fixes for gcc 3.1 --- libs/video/renderer/gl/gl_sky_clip.c | 4 ++++ libs/video/targets/old_keys.c | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/libs/video/renderer/gl/gl_sky_clip.c b/libs/video/renderer/gl/gl_sky_clip.c index 0d2582a2f..77cdc31eb 100644 --- a/libs/video/renderer/gl/gl_sky_clip.c +++ b/libs/video/renderer/gl/gl_sky_clip.c @@ -58,6 +58,10 @@ static const char rcsid[] = #include "compat.h" +#ifdef _WIN32 +void *alloca(size_t size); +#endif + #define BOX_WIDTH 2056 /* cube face to sky texture offset conversion */ diff --git a/libs/video/targets/old_keys.c b/libs/video/targets/old_keys.c index 9a718715d..6c42eb3bf 100644 --- a/libs/video/targets/old_keys.c +++ b/libs/video/targets/old_keys.c @@ -43,6 +43,10 @@ static const char rcsid[] = # include #endif +#ifdef _WIN32 +void *alloca(size_t size); +#endif + #include #include