summaryrefslogtreecommitdiff
path: root/lib/win32
diff options
context:
space:
mode:
Diffstat (limited to 'lib/win32')
-rw-r--r--lib/win32/emu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/win32/emu.h b/lib/win32/emu.h
index cd4e2f4e..acc91b15 100644
--- a/lib/win32/emu.h
+++ b/lib/win32/emu.h
@@ -279,7 +279,7 @@ void syslog (int loglevel, const char *fmt, ...);
#define strtoll _strtoi64
#endif
-inline unsigned int sleep(unsigned int secs)
+extern "C" inline unsigned int sleep(unsigned int secs)
{
Sleep(secs*1000);
return(ERROR_SUCCESS);