Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F159696211
D35610.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
812 B
Referenced Files
None
Subscribers
None
D35610.diff
View Options
Index: sys/contrib/openzfs/include/os/freebsd/spl/sys/types.h
===================================================================
--- sys/contrib/openzfs/include/os/freebsd/spl/sys/types.h
+++ sys/contrib/openzfs/include/os/freebsd/spl/sys/types.h
@@ -78,9 +78,6 @@
typedef mode_t o_mode_t;
typedef uint64_t pgcnt_t;
-#define B_FALSE 0
-#define B_TRUE 1
-
typedef short index_t;
typedef off_t offset_t;
#ifndef _PTRDIFF_T_DECLARED
@@ -90,13 +87,17 @@
typedef int64_t rlim64_t;
typedef int major_t;
-#else
#ifdef NEED_SOLARIS_BOOLEAN
#if defined(__XOPEN_OR_POSIX)
typedef enum { _B_FALSE, _B_TRUE } boolean_t;
#else
typedef enum { B_FALSE, B_TRUE } boolean_t;
#endif /* defined(__XOPEN_OR_POSIX) */
+#else
+
+#define B_FALSE 0
+#define B_TRUE 1
+
#endif
typedef u_longlong_t u_offset_t;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jun 18, 3:59 AM (3 h, 44 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34028486
Default Alt Text
D35610.diff (812 B)
Attached To
Mode
D35610: zfs: only define B_FALSE/B_TRUE if NEED_SOLARIS_BOOLEAN is not set
Attached
Detach File
Event Timeline
Log In to Comment