projects
/
platform
/
upstream
/
libgc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e0244f1
)
Fix GC initialization in de_win for Cygwin
author
Ivan Maidanski
<ivmai@mail.ru>
Fri, 12 Feb 2016 09:04:16 +0000
(12:04 +0300)
committer
Ivan Maidanski
<ivmai@mail.ru>
Fri, 12 Feb 2016 09:04:16 +0000
(12:04 +0300)
(make GC initialization portable)
* cord/tests/de_win.c (WinMain): Call GC_INIT() unconditionally.
cord/tests/de_win.c
patch
|
blob
|
history
diff --git
a/cord/tests/de_win.c
b/cord/tests/de_win.c
index
ecbd604
..
23c1e2a
100644
(file)
--- 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)
{