mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-07 11:48:30 +00:00
Add WIN32 symbols for OpenGL support (#304)
This commit is contained in:
parent
30cd28b1f8
commit
0a0997a872
20 changed files with 290 additions and 92 deletions
|
@ -1,2 +1,15 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp user32,__imp_GetKeyboardLayout,GetKeyboardLayout,1867
|
||||
|
||||
.text.windows
|
||||
GetKeyboardLayout:
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov %rdi,%rcx
|
||||
sub $32,%rsp
|
||||
call *__imp_GetKeyboardLayout(%rip)
|
||||
leave
|
||||
ret
|
||||
.endfn GetKeyboardLayout,globl
|
||||
.previous
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue