diff options
author | Janne Blomqvist <jb@gcc.gnu.org> | 2017-02-27 13:13:49 +0200 |
---|---|---|
committer | Janne Blomqvist <jb@gcc.gnu.org> | 2017-02-27 13:13:49 +0200 |
commit | 9449b700197b1d120d194cefe294f44460c0adab (patch) | |
tree | a7433a4ff626cf6ecfe26b62ade74373c9bcc0d4 /COPYING3 | |
parent | 57fa080bf6c0ae01bf1643a87e72ca636bde0454 (diff) | |
download | gcc-9449b700197b1d120d194cefe294f44460c0adab.zip gcc-9449b700197b1d120d194cefe294f44460c0adab.tar.gz gcc-9449b700197b1d120d194cefe294f44460c0adab.tar.bz2 |
Don't try to use rand_s on CYGWIN
CYGWIN seems to include _mingw.h and thus __MINGW64_VERSION_MAJOR is
defined even though rand_s is not available. Thus add an extra check
for __CYGWIN__.
2017-02-27 Janne Blomqvist <jb@gcc.gnu.org>
* intrinsics/random.c (getosrandom): Don't try to use rand_s on
CYGWIN.
From-SVN: r245755
Diffstat (limited to 'COPYING3')
0 files changed, 0 insertions, 0 deletions