projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af9985c
)
Fix MingW build, patch by Kenneth Boyd!
author
Julien Lerouge
<jlerouge@apple.com>
Thu, 12 Feb 2009 07:39:10 +0000
(07:39 +0000)
committer
Julien Lerouge
<jlerouge@apple.com>
Thu, 12 Feb 2009 07:39:10 +0000
(07:39 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64366
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/System/Win32/Alarm.inc
patch
|
blob
|
history
diff --git
a/lib/System/Win32/Alarm.inc
b/lib/System/Win32/Alarm.inc
index 64a2107a8e743aecdf720c2ecc15fd38f891fc97..dca9e08171f36bd012e8e9ec76a11e03094df897 100644
(file)
--- a/
lib/System/Win32/Alarm.inc
+++ b/
lib/System/Win32/Alarm.inc
@@
-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);
}