* include/gc.h (GC_INIT_CONF_MAX_RETRIES): Recognize GC_DONT_GC
(set GC_dont_gc to 1 in that case) to turn off GC at start-up (for
a debugging purpose).
# define GC_INIT_CONF_FORCE_UNMAP_ON_GCOLLECT /* empty */
#endif
-#ifdef GC_MAX_RETRIES
+#ifdef GC_DONT_GC
+ /* This is for debugging only (useful if environment variables are */
+ /* unsupported); cannot call GC_disable as goes before GC_init. */
+# define GC_INIT_CONF_MAX_RETRIES (void)(GC_dont_gc = 1)
+#elif defined(GC_MAX_RETRIES)
/* Set GC_max_retries to the desired value at start-up */
# define GC_INIT_CONF_MAX_RETRIES GC_set_max_retries(GC_MAX_RETRIES)
#else