File tree Expand file tree Collapse file tree
Sources/FoundationEssentials Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -415,7 +415,7 @@ extension Platform {
415415 public static func strtod_clocale( _ nptr: UnsafePointer < UInt8 > , _ endptr: UnsafeMutablePointer < UnsafeMutablePointer < CChar > ? > ? ) -> Double {
416416 #if os(Windows)
417417 return _strtod_l ( nptr, endptr, Self . cLocale)
418- #elseif NO_LOCALIZATION
418+ #elseif NO_LOCALIZATION || os(OpenBSD)
419419 return strtod ( nptr, endptr) ;
420420 #else
421421 return strtod_l ( nptr, endptr, Self . cLocale)
@@ -425,7 +425,7 @@ extension Platform {
425425 public static func strtof_clocale( _ nptr: UnsafePointer < UInt8 > , _ endptr: UnsafeMutablePointer < UnsafeMutablePointer < CChar > ? > ? ) -> Float {
426426 #if os(Windows)
427427 return _strtof_l ( nptr, endptr, Self . cLocale)
428- #elseif NO_LOCALIZATION
428+ #elseif NO_LOCALIZATION || os(OpenBSD)
429429 return strtof ( nptr, endptr) ;
430430 #else
431431 return strtof_l ( nptr, endptr, Self . cLocale)
You can’t perform that action at this time.
0 commit comments