Page MenuHomeFreeBSD

D35610.diff
No OneTemporary

D35610.diff

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

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)

Event Timeline