diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-07-08 14:12:26 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-07-08 14:12:26 +0000 |
commit | 444f08f6619a65c06a1add22cae361e21c6dc934 (patch) | |
tree | 8d72e86d2d94d4f066c082ab11028cc1f00fd744 /win32/win32.c | |
parent | 1ffdd828b32ecb81fd3fd8541df1edcb8c5673a8 (diff) |
win32: for strict ANSI
* thread_win32.c (w32_thread_start_func, thread_start_func_1),
(timer_thread_func): use __stdcall instead of _stdcall which is
unavailable in strict ANSI mode. [ruby-core:55312] [Bug #8495]
* win32/win32.c (gettimeofday): use __cdecl instead of _cdecl.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41834 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32/win32.c')
-rw-r--r-- | win32/win32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/win32.c b/win32/win32.c index 6c27ffa277..c7ee9844b1 100644 --- a/win32/win32.c +++ b/win32/win32.c @@ -4274,7 +4274,7 @@ filetime_to_timeval(const FILETIME* ft, struct timeval *tv) } /* License: Ruby's */ -int _cdecl +int __cdecl gettimeofday(struct timeval *tv, struct timezone *tz) { FILETIME ft; |