rand/randfile.c: remove _XOPEN_SOURCE definition.
authorAndy Polyakov <appro@openssl.org>
Mon, 16 May 2016 14:44:33 +0000 (16:44 +0200)
committerAndy Polyakov <appro@openssl.org>
Fri, 20 May 2016 14:05:15 +0000 (16:05 +0200)
commite10b54ca32280d9fec20085f404dcdcf2217c90e
tree5e104857b6ce10f9137f4170982a0075c4e52596
parent5553a12735e11bc9aa28727afe721e7236788aab
rand/randfile.c: remove _XOPEN_SOURCE definition.

Defintions of macros similar to _XOPEN_SOURCE belong in command line
or in worst case prior first #include directive in source. As for
macros is was allegedly controlling. One can argue that we are
probably better off demanding S_IS* macros but there are systems
that just don't comply, hence this compromise solution...

Reviewed-by: Rich Salz <rsalz@openssl.org>
(cherry picked from commit 2e6d7799ffc47604d06e0465afeb84b91aff8006)
crypto/rand/randfile.c