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:
2b8dcde
)
2006-07-30 Hans Boehm <Hans.Boehm@hp.com>
author
hboehm
<hboehm>
Sun, 30 Jul 2006 18:18:43 +0000
(18:18 +0000)
committer
Ivan Maidanski
<ivmai@mail.ru>
Tue, 26 Jul 2011 17:06:38 +0000
(21:06 +0400)
* tests/test.c: Call GC_use_DllMain in the win32/DLL configuration.
tests/test.c
patch
|
blob
|
history
diff --git
a/tests/test.c
b/tests/test.c
index
17bcea1
..
d8e9990
100644
(file)
--- a/
tests/test.c
+++ b/
tests/test.c
@@
-1481,6
+1481,10
@@
int APIENTRY WinMain(HINSTANCE instance, HINSTANCE prev, LPSTR cmd, int n)
HANDLE win_thr_h;
# endif
DWORD thread_id;
+
+# ifdef GC_DLL
+ GC_use_DllMain(); /* Test with implicit thread registration if possible. */
+# endif
GC_INIT();
# ifndef NO_INCREMENTAL
GC_enable_incremental();