mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-15 07:34:33 +00:00
Fix MingW build, patch by Kenneth Boyd!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64366 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
af9985c6b9
commit
9430fe7092
@ -35,6 +35,9 @@ int sys::AlarmStatus() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
void Sleep(unsigned n) {
|
||||
// Don't pull in all of the Windows headers.
|
||||
extern "C" _stdcall void Sleep(unsigned long);
|
||||
|
||||
void sys::Sleep(unsigned n) {
|
||||
Sleep(n*1000);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user