Merge pull request #22744 from amosbird/librdkafkaharmful

Avoid using harmful function rand()
This commit is contained in:
alexey-milovidov 2021-04-07 20:05:13 +03:00 committed by GitHub
commit a5179cf444
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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