mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2024-12-23 22:01:31 +11:00
Fix warning (#880)
This commit is contained in:
parent
8d6a857ba5
commit
93502e0cda
|
@ -6,7 +6,7 @@ use std::os::raw::{c_void, c_char, c_int};
|
|||
pub const RTLD_LAZY: c_int = 0x001;
|
||||
pub const RTLD_NOW: c_int = 0x002;
|
||||
|
||||
#[link="dl"]
|
||||
#[link(name ="dl")]
|
||||
extern {
|
||||
pub fn dlopen(filename: *const c_char, flag: c_int) -> *mut c_void;
|
||||
pub fn dlerror() -> *mut c_char;
|
||||
|
|
Loading…
Reference in a new issue