Move up host and byteorder checks before checking for random device to use.
Disable check for DEV_URANDOM if compiling under cygwin or mingw. Apparently the MSYS environment makes opening /dev/urandom succeed when running within it, using some magic, but this will not work for the compiled library.
1 file changed