Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F115844360
D41733.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
764 B
Referenced Files
None
Subscribers
None
D41733.diff
View Options
diff --git a/include/time.h b/include/time.h
--- a/include/time.h
+++ b/include/time.h
@@ -179,13 +179,13 @@
#include <xlocale/_time.h>
#endif
-#if defined(__BSD_VISIBLE) || __ISO_C_VISIBLE >= 2011 || \
+#if __BSD_VISIBLE || __ISO_C_VISIBLE >= 2011 || \
(defined(__cplusplus) && __cplusplus >= 201703)
#include <sys/_timespec.h>
/* ISO/IEC 9899:2011 7.27.2.5 The timespec_get function */
#define TIME_UTC 1 /* time elapsed since epoch */
int timespec_get(struct timespec *ts, int base);
-#if defined (__BSD_VISIBLE) || __ISO_C_VISIBLE >= 2023
+#if __BSD_VISIBLE || __ISO_C_VISIBLE >= 2023
/* ISO/IEC 9899:2024 7.29.1 Components of time */
#define TIME_MONOTONIC 2 /* monotonic time */
/* ISO/IEC 9899:2024 7.29.2.7 The timespec_getres function */
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Apr 30, 11:15 AM (18 h, 51 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17856858
Default Alt Text
D41733.diff (764 B)
Attached To
Mode
D41733: time.h: Fix visibility check for C11 and C23 features.
Attached
Detach File
Event Timeline
Log In to Comment