NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: lib/57083



The following reply was made to PR lib/57083; it has been noted by GNATS.

From: Jiaxun Yang <jiaxun.yang%flygoat.com@localhost>
To: "gnats-bugs%netbsd.org@localhost" <gnats-bugs%NetBSD.org@localhost>
Cc: 
Subject: Re: lib/57083
Date: Wed, 16 Nov 2022 18:04:21 +0000

 Update patch:
 
 diff --git a/lib/libc/time/private.h b/lib/libc/time/private.h
 index 314e3c994af0..6ea9d324fd6f 100644
 --- a/lib/libc/time/private.h
 +++ b/lib/libc/time/private.h
 @@ -75,7 +75,7 @@
  # define HAVE_GENERIC (201112 <= __STDC_VERSION__)
  #endif
  
 -#if !defined HAVE_GETRANDOM && defined __has_include
 +#if !defined HAVE_GETRANDOM && !defined __APPLE__  && !defined __has_include
  # if __has_include(<sys/random.h>)
  #  define HAVE_GETRANDOM true
  # else
 



Home | Main Index | Thread Index | Old Index