Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F110783516
D22034.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
769 B
Referenced Files
None
Subscribers
None
D22034.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D22034: Use __FreeBSD_version to determine if gets() has been removed.
Attached
Detach File
Event Timeline
Log In to Comment