update config.h.

Signed-off-by: dongzhengkuan <dongzhengkuan@huawei.com>
This commit is contained in:
dongzhengkuan 2023-07-13 08:33:36 +00:00 committed by Gitee
parent f19c5df4ad
commit 6620cf5a9e
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -82,8 +82,13 @@
#define HAVE_EPOLL 1
#define HAVE_SYS_PARAM_H 1
#define CUPS_RAND() rand()
#define CUPS_SRAND(v) srand(v)
#ifdef HAVE_ARC4RANDOM
# define CUPS_RAND() arc4random()
# define CUPS_SRAND(v) arc4random_stir()
#else
# define CUPS_RAND() rand()
# define CUPS_SRAND(v) srand(v)
#endif /* HAVE_ARC4RANDOM */
#define HAVE_LIBUSB 1
#define HAVE_STATFS 1