diff --git a/Sources/Ecc/StdH.h b/Sources/Ecc/StdH.h index 1b048a0..ea0cdca 100644 --- a/Sources/Ecc/StdH.h +++ b/Sources/Ecc/StdH.h @@ -21,7 +21,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include #include -#if !defined(PLATFORM_MACOSX) && !defined(PLATFORM_FREEBSD) +#ifdef PLATFORM_WIN32 #include #endif diff --git a/Sources/Engine/Engine.h b/Sources/Engine/Engine.h index d63fae4..538a294 100644 --- a/Sources/Engine/Engine.h +++ b/Sources/Engine/Engine.h @@ -38,12 +38,9 @@ with this program; if not, write to the Free Software Foundation, Inc., #include // for qsort #include // for FPU control -#if !defined(PLATFORM_MACOSX) && !defined(PLATFORM_FREEBSD) -#include -#endif - /* rcg10042001 !!! FIXME: Move these somewhere. */ #if (defined PLATFORM_WIN32) +#include #include #include #include diff --git a/Sources/Engine/Sound/SoundLibrary.cpp b/Sources/Engine/Sound/SoundLibrary.cpp index 4ff9f38..1965024 100644 --- a/Sources/Engine/Sound/SoundLibrary.cpp +++ b/Sources/Engine/Sound/SoundLibrary.cpp @@ -258,7 +258,7 @@ static BOOL StartUp_SDLaudio( CSoundLibrary &sl, BOOL bReport=TRUE) } sdl_silence = obtained.silence; - sdl_backbuffer_allocation = (obtained.size * 2); + sdl_backbuffer_allocation = (obtained.size * 4); sdl_backbuffer = (Uint8 *)AllocMemory(sdl_backbuffer_allocation); sdl_backbuffer_remain = 0; sdl_backbuffer_pos = 0; diff --git a/Sources/Engine/StdH.h b/Sources/Engine/StdH.h index d889b87..8547abf 100644 --- a/Sources/Engine/StdH.h +++ b/Sources/Engine/StdH.h @@ -27,11 +27,8 @@ with this program; if not, write to the Free Software Foundation, Inc., #include // for qsort #include // for FPU control -#if !defined(PLATFORM_MACOSX) && !defined(PLATFORM_FREEBSD) -#include -#endif - #ifdef PLATFORM_WIN32 +#include #include #include #include