summaryrefslogtreecommitdiffstats
path: root/config.tests/unix/cxx11_random
Commit message (Collapse)AuthorAgeFilesLines
* QRandomGenerator: don't internally rely on QT_HAS_INCLUDEThiago Macieira2017-06-202-0/+36
GCC didn't support it until version 5 or 6, so add configure tests for both <random> and <sys/auxv.h>. Normally I'd say "upgrade", but this is too low-level and important a feature. There's a good chance that all our supported compilers have <random> anyway. As for <sys/auxv.h>, it's present on Glibc, Bionic and MUSL, but I don't see it in uClibc (AT_RANDOM is a Linux-specific feature). Change-Id: Ia3e896da908f42939148fffd14c5b2af491f7a77 Reviewed-by: Lars Knoll <lars.knoll@qt.io> Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>