Fix build on DragonFly (unused function errno_location)
Function errno_location() is not used on DragonFly. As warnings are errors, this breaks the build.
This commit is contained in:
parent
444ff9fbfb
commit
e8da9159fb
1 changed files with 1 additions and 0 deletions
|
|
@ -37,6 +37,7 @@ static ENV_LOCK: Mutex = Mutex::new();
|
|||
|
||||
|
||||
extern {
|
||||
#[cfg(not(target_os = "dragonfly"))]
|
||||
#[cfg_attr(any(target_os = "linux", target_os = "emscripten"),
|
||||
link_name = "__errno_location")]
|
||||
#[cfg_attr(any(target_os = "bitrig",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue