Avoid using harmful function rand()

This commit is contained in:
Amos Bird 2021-04-07 17:04:35 +08:00
parent cf2931384b
commit 1364d939a1
No known key found for this signature in database
GPG Key ID: 80D430DCBECFEDB4

View File

@ -75,6 +75,8 @@
#define HAVE_STRNDUP 1
// strerror_r
#define HAVE_STRERROR_R 1
// rand_r
#define HAVE_RAND_R 1
#ifdef __APPLE__
// pthread_setname_np