build: Do not provide prototypes for arc4random() on Solaris

These functions are provided by the system.
This commit is contained in:
Guillem Jover 2023-07-27 13:51:36 +02:00
parent cf61ebb845
commit d0d8d0197f

View File

@ -51,7 +51,7 @@
#include <stdint.h>
__BEGIN_DECLS
#if !defined(__APPLE__)
#if !defined(__APPLE__) && !defined(__sun)
#if !defined(__GLIBC__) || \
!__GLIBC_PREREQ(2, 36) || \
!defined(_DEFAULT_SOURCE)