Skip to content

Commit 22e5937

Browse files
committed
Link to ntdll on win64
1 parent a8b0242 commit 22e5937

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ cfg_if! {
145145
fn get_tib_address() -> *const usize;
146146
}
147147
#[cfg(target_pointer_width = "64")]
148+
#[link(name = "ntdll")]
148149
extern "system" {
149150
#[link_name = "NtCurrentTeb"]
150151
fn get_tib_address() -> *const usize;

0 commit comments

Comments
 (0)