Skip to content

Commit 699ca89

Browse files
committed
Handle nsarray setting type in root settings-header.pl
The fork's settings.dat declares recent_snapshots with type nsarray (a Cocoa NSArray). fusepb/settings-header.pl handles this; the root parser only knew boolean/numeric/string/null and died with "Unknown setting type 'nsarray'" when invoked by autotools-driven CI builds for non-Cocoa UI variants. Treat nsarray as 'do nothing' -- non-Cocoa builds don't need the setting in their settings_info struct.
1 parent 117df28 commit 699ca89

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

settings-header.pl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@
8080
print " int $name;\n";
8181
} elsif( $type eq 'string' ) {
8282
print " char *$name;\n";
83+
} elsif( $type eq 'nsarray' ) {
84+
# Do nothing
8385
} elsif( $type eq 'null' ) {
8486
# Do nothing
8587
} else {

0 commit comments

Comments
 (0)