diff options
| author | Cedric Venet <cedric.venet@laposte.net> | 2009-02-14 16:06:42 +0000 |
|---|---|---|
| committer | Cedric Venet <cedric.venet@laposte.net> | 2009-02-14 16:06:42 +0000 |
| commit | d1e179d992099c0d01ea99def1fdb6b793f0319c (patch) | |
| tree | 724676e2135b1a113ccbabf81d940d57ddf150b8 /llvm/lib/System | |
| parent | d831cac2a79f3d557c2cad8f891de218d200ac1a (diff) | |
| download | bcm5719-llvm-d1e179d992099c0d01ea99def1fdb6b793f0319c.tar.gz bcm5719-llvm-d1e179d992099c0d01ea99def1fdb6b793f0319c.zip | |
Unbreak the build on win32.
Cleanup some warning.
Remark: when struct/class are declared differently than they are defined, this make problem for VC++ since it seems to mangle class differently that struct. These error are very hard to understand and find. So please, try to keep your definition/declaration in sync.
Only tested with VS2008. hope it does not break anything. feel free to revert.
llvm-svn: 64554
Diffstat (limited to 'llvm/lib/System')
| -rw-r--r-- | llvm/lib/System/Win32/Alarm.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/System/Win32/Alarm.inc b/llvm/lib/System/Win32/Alarm.inc index dca9e08171f..c413b096e7e 100644 --- a/llvm/lib/System/Win32/Alarm.inc +++ b/llvm/lib/System/Win32/Alarm.inc @@ -36,7 +36,7 @@ int sys::AlarmStatus() { } // Don't pull in all of the Windows headers. -extern "C" _stdcall void Sleep(unsigned long); +extern "C" void __stdcall Sleep(unsigned long); void sys::Sleep(unsigned n) { Sleep(n*1000); |

