mirror of
https://gitee.com/openharmony/third_party_cups
synced 2024-11-27 03:50:24 +00:00
update config.h.
Signed-off-by: dongzhengkuan <dongzhengkuan@huawei.com>
This commit is contained in:
parent
f19c5df4ad
commit
6620cf5a9e
9
config.h
9
config.h
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user