Page MenuHomeFreeBSD

D22034.diff
No OneTemporary

D22034.diff

Index: head/contrib/libc++/include/__config
===================================================================
--- head/contrib/libc++/include/__config
+++ head/contrib/libc++/include/__config
@@ -246,6 +246,7 @@
#ifdef __FreeBSD__
# include <sys/endian.h>
+# include <osreldate.h>
# if _BYTE_ORDER == _LITTLE_ENDIAN
# define _LIBCPP_LITTLE_ENDIAN
# else // _BYTE_ORDER == _LITTLE_ENDIAN
@@ -1131,7 +1132,8 @@
// Some systems do not provide gets() in their C library, for security reasons.
#ifndef _LIBCPP_C_HAS_NO_GETS
-# if defined(_LIBCPP_MSVCRT) || (defined(__FreeBSD__) && __FreeBSD__ >= 13)
+# if defined(_LIBCPP_MSVCRT) || \
+ (defined(__FreeBSD__) && __FreeBSD_version >= 1300043)
# define _LIBCPP_C_HAS_NO_GETS
# endif
#endif

File Metadata

Mime Type
text/plain
Expires
Mon, Feb 24, 2:19 AM (14 h, 33 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16808651
Default Alt Text
D22034.diff (769 B)

Event Timeline