Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F10708556
vendor-diff.txt
gshapiro (gshapiro@freebsd.org)
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Authored By
gshapiro
Oct 26 2020, 5:12 PM
2020-10-26 17:12:05 (UTC+0)
Size
718 B
Referenced Files
None
Subscribers
None
vendor-diff.txt
View Options
diff --git a/include/sm/os/sm_os_freebsd.h b/include/sm/os/sm_os_freebsd.h
index 7c52edfe0..db7dbf2b6 100644
--- a/include/sm/os/sm_os_freebsd.h
+++ b/include/sm/os/sm_os_freebsd.h
@@ -26,17 +26,18 @@
# define SM_CONF_STRL 1
# endif
# endif
+# if __FreeBSD_version >= 1200059
+# ifndef SM_CONF_SEM
+# define SM_CONF_SEM 2 /* union semun is no longer declared by default */
+# endif
+# endif
#endif
#ifndef SM_CONF_SHM
# define SM_CONF_SHM 1
#endif
#ifndef SM_CONF_SEM
-# if __FreeBSD__ > 11
-# define SM_CONF_SEM 2 /* union semun is now longer available by default */
-# else
-# define SM_CONF_SEM 1
-# endif
+# define SM_CONF_SEM 1
#endif
#ifndef SM_CONF_MSG
# define SM_CONF_MSG 1
File Metadata
Details
Attached
Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2969075
Default Alt Text
vendor-diff.txt (718 B)
Attached To
Mode
D26902: Key decleration of union semun on src version
Attached
Detach File
Event Timeline
Log In to Comment