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:
Julien Lerouge 2009-02-12 07:39:10 +00:00
parent af9985c6b9
commit 9430fe7092

View File

@ -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);
}