projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cleanup of unnecessarily convoluted function call
[rocksndiamonds.git]
/
src
/
game_bd
/
bd_random.c
diff --git
a/src/game_bd/bd_random.c
b/src/game_bd/bd_random.c
index fc7998cbdb936718bac7321286d647c7e1722bfa..b40ee4fc43a12758e3964501a4f5c2d3ba107da2 100644
(file)
--- a/
src/game_bd/bd_random.c
+++ b/
src/game_bd/bd_random.c
@@
-40,11
+40,14
@@
#include <unistd.h>
#include <time.h>
#include <unistd.h>
#include <time.h>
+#include "main_bd.h"
+
#if defined(PLATFORM_WINDOWS)
#include <process.h> // for getpid()
#if defined(PLATFORM_WINDOWS)
#include <process.h> // for getpid()
+#if (defined(_MSC_VER) && _MSC_VER >= 1400) || defined(__MINGW64_VERSION_MAJOR)
+extern errno_t rand_s (unsigned int *randomValue);
+#endif
#endif
#endif
-
-#include "main_bd.h"
/**
/**