aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimone Basso <bassosimone@gmail.com>2016-12-09 13:21:37 +0100
committerBrent Cook <bcook@openbsd.org>2017-01-07 07:21:07 -0600
commitc4ee1a6fca8ce7c46e90fe8dcf856131e03bcb0b (patch)
tree37d68711eb7b98a54782095ebb94688b4af54777 /include
parentbd53433877bd2f81362c92c6fead4c374794cceb (diff)
downloadportable-c4ee1a6fca8ce7c46e90fe8dcf856131e03bcb0b.tar.gz
portable-c4ee1a6fca8ce7c46e90fe8dcf856131e03bcb0b.tar.bz2
portable-c4ee1a6fca8ce7c46e90fe8dcf856131e03bcb0b.zip
m4/check-libc.m4: improve getentropy check
- according to man.openbsd.org getentropy() is in unistd.h - according to macOS sierra's man it's in sys/random.h - since sys/random.h is does not exist for iOS and for linux, do not attempt to include it, rather redeclare the prototype - make sure that `./configure`: - uses getentropy() on macOS sierra - does not use getentropy() if compiling for 10.11 - does not use getentropy() if compiling for ios armv7
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions