* misc.c (GC_set_warn_proc): Implicitly intialize GC on
non-Cygwin win32.
+2009-02-28 Hans Boehm <Hans.Boehm@hp.com>
+ * misc.c (GC_set_warn_proc): Implicitly intialize GC on
+ non-Cygwin win32.
+
2009-02-28 Hans Boehm <Hans.Boehm@hp.com> (Really Petr Krajca)
* configure.ac: Enable thread-local allocation for sparc-linux.
* configure: Regenerate.
GC_warn_proc result;
# ifdef GC_WIN32_THREADS
- GC_ASSERT(GC_is_initialized);
+# ifdef CYGWIN32
+ /* Need explicit GC_INIT call */
+ GC_ASSERT(GC_is_initialized);
+# else
+ if (!GC_is_initialized) GC_init();
+# endif
# endif
LOCK();
result = GC_current_warn_proc;