Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
nerrons
purr-data
Commits
b2969686
Commit
b2969686
authored
Mar 19, 2018
by
Albert Gräf
Browse files
disis_munger: make RANDOM work on Windows
parent
31eb243b
Changes
1
Hide whitespace changes
Inline
Side-by-side
externals/disis/disis_munger.c
View file @
b2969686
...
...
@@ -38,7 +38,7 @@ For latest changes please see changelog
/* MSVC doesn't know RANDOM(), while GCC's
(at least on Linux) has rand() limit much higher */
#if
n
def
__GNUC__
#if
!
def
ined(
__GNUC__
) || defined(__MINGW32__)
#define RANDOM() (rand())
#else
#define RANDOM() (random()%32768)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment