Commit 12bfbc14 authored by Jonathan Wilkes's avatar Jonathan Wilkes
Browse files

Merge branch 'aggraef/purr-data-disis_munger-random-fix'

parents 31eb243b b2969686
...@@ -38,7 +38,7 @@ For latest changes please see changelog ...@@ -38,7 +38,7 @@ For latest changes please see changelog
/* MSVC doesn't know RANDOM(), while GCC's /* MSVC doesn't know RANDOM(), while GCC's
(at least on Linux) has rand() limit much higher */ (at least on Linux) has rand() limit much higher */
#ifndef __GNUC__ #if !defined(__GNUC__) || defined(__MINGW32__)
#define RANDOM() (rand()) #define RANDOM() (rand())
#else #else
#define RANDOM() (random()%32768) #define RANDOM() (random()%32768)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment