From: Holger Schemel Date: Wed, 8 May 2024 22:15:25 +0000 (+0200) Subject: fixed compiler warning X-Git-Tag: 4.4.0.0-test-1~2 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=78e022fbdda3c4d49bf5c051f8eea618b2a671e6;p=rocksndiamonds.git fixed compiler warning --- diff --git a/src/game_bd/bd_random.c b/src/game_bd/bd_random.c index fc7998cb..b40ee4fc 100644 --- a/src/game_bd/bd_random.c +++ b/src/game_bd/bd_random.c @@ -40,11 +40,14 @@ #include #include +#include "main_bd.h" + #if defined(PLATFORM_WINDOWS) #include // for getpid() +#if (defined(_MSC_VER) && _MSC_VER >= 1400) || defined(__MINGW64_VERSION_MAJOR) +extern errno_t rand_s (unsigned int *randomValue); +#endif #endif - -#include "main_bd.h" /**