ruby-changes:44771
From: suke <ko1@a...>
Date: Sun, 20 Nov 2016 08:51:54 +0900 (JST)
Subject: [ruby-changes:44771] suke:r56844 (trunk): * ext/win32ole/win32ole.c: independent of libgcc_s_seh-1.dll [Bug #12959]
suke 2016-11-20 08:51:49 +0900 (Sun, 20 Nov 2016) New Revision: 56844 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=56844 Log: * ext/win32ole/win32ole.c: independent of libgcc_s_seh-1.dll [Bug #12959] Thanks to Tsuyoshi Morita for bug report. Modified files: trunk/ext/win32ole/win32ole.c Index: ext/win32ole/win32ole.c =================================================================== --- ext/win32ole/win32ole.c (revision 56843) +++ ext/win32ole/win32ole.c (revision 56844) @@ -36,7 +36,7 @@ typedef HWND (WINAPI FNHTMLHELP)(HWND hw https://github.com/ruby/ruby/blob/trunk/ext/win32ole/win32ole.c#L36 typedef BOOL (FNENUMSYSEMCODEPAGES) (CODEPAGE_ENUMPROC, DWORD); VALUE cWIN32OLE; -#if defined(RB_THREAD_SPECIFIC) && (defined(__CYGWIN__) || defined(__MINGW32__)) +#if defined(RB_THREAD_SPECIFIC) && (defined(__CYGWIN__)) static RB_THREAD_SPECIFIC BOOL g_ole_initialized; # define g_ole_initialized_init() ((void)0) # define g_ole_initialized_set(val) (g_ole_initialized = (val)) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/