From: Ivan Maidanski Date: Fri, 12 Feb 2016 09:04:16 +0000 (+0300) Subject: Fix GC initialization in de_win for Cygwin X-Git-Tag: gc7_6_0~80 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0fa9b0a1b9337be7550179c9a41523bd1df06e8d;p=platform%2Fupstream%2Flibgc.git Fix GC initialization in de_win for Cygwin (make GC initialization portable) * cord/tests/de_win.c (WinMain): Call GC_INIT() unconditionally. --- diff --git a/cord/tests/de_win.c b/cord/tests/de_win.c index ecbd604..23c1e2a 100644 --- a/cord/tests/de_win.c +++ b/cord/tests/de_win.c @@ -46,10 +46,7 @@ int APIENTRY WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, WNDCLASS wndclass; HANDLE hAccel; -# ifdef THREAD_LOCAL_ALLOC - GC_INIT(); /* Required if GC is built with THREAD_LOCAL_ALLOC */ - /* Always safe, but this is used as a GC test. */ -# endif + GC_INIT(); if (!hPrevInstance) {