File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -351,7 +351,11 @@ cfg_if! {
351351pub const FNM_NOMATCH : c_int = 1 ;
352352
353353cfg_if ! {
354- if #[ cfg( any( target_os = "illumos" , target_os = "solaris" , ) ) ] {
354+ if #[ cfg( any(
355+ target_os = "illumos" ,
356+ target_os = "solaris" ,
357+ target_os = "netbsd"
358+ ) ) ] {
355359 pub const FNM_CASEFOLD : c_int = 1 << 3 ;
356360 } else if #[ cfg( not( target_os = "aix" ) ) ] {
357361 pub const FNM_CASEFOLD : c_int = 1 << 4 ;
@@ -365,6 +369,7 @@ cfg_if! {
365369 target_os = "android" ,
366370 target_os = "openbsd" ,
367371 target_os = "cygwin" ,
372+ target_os = "netbsd" ,
368373 ) ) ] {
369374 pub const FNM_PATHNAME : c_int = 1 << 1 ;
370375 } else {
@@ -378,6 +383,7 @@ cfg_if! {
378383 target_os = "freebsd" ,
379384 target_os = "android" ,
380385 target_os = "openbsd" ,
386+ target_os = "netbsd" ,
381387 ) ) ] {
382388 pub const FNM_NOESCAPE : c_int = 1 << 0 ;
383389 } else if #[ cfg( target_os = "nto" ) ] {
You can’t perform that action at this time.
0 commit comments