diff options
author | Chris Wilson <chris+github@qwirx.com> | 2014-12-26 23:16:08 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2014-12-26 23:16:08 +0000 |
commit | 839a04cea37e9615a0753337ce44780ce84d77fe (patch) | |
tree | b0bdeadbfa6dbd57e6fe3254d36864982bf9edcb /lib/win32 | |
parent | 3431957386a00b0f13875c7e0cf639bf7ba307d8 (diff) |
Fix more compile errors on MinGW
Diffstat (limited to 'lib/win32')
-rw-r--r-- | lib/win32/emu.h | 2 |
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); |