Skip to content

Commit 445fd3b

Browse files
committed
fixup! [fix] Fix FUSE struct issues on NetBSD
1 parent 1ea63d0 commit 445fd3b

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

mfusepy.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1037,11 +1037,12 @@ class fuse_conn_info(ctypes.Structure): # Added in 2.6 (ABI break of "init" fro
10371037
if fuse_version_minor >= 15 and fuse_version_minor < 17:
10381038
_fuse_config_fields_ += [('parallel_direct_writes', ctypes.c_int)]
10391039

1040-
_fuse_config_fields_ += [
1041-
('show_help', _fuse_int32),
1042-
('modules', ctypes.c_char_p),
1043-
('debug', _fuse_int32),
1044-
]
1040+
if _system != 'NetBSD':
1041+
_fuse_config_fields_ += [
1042+
('show_help', _fuse_int32),
1043+
('modules', ctypes.c_char_p),
1044+
('debug', _fuse_int32),
1045+
]
10451046

10461047
if fuse_version_minor >= 17:
10471048
_fuse_config_fields_ += [

0 commit comments

Comments
 (0)