Annotation of win32/gc/misc.diff, revision 1.2
1.2 ! moko 1: --- misc.c 2019-12-02 16:22:06.772305100 +0300
! 2: +++ ../misc.c 2019-11-28 18:08:50.538009100 +0300
! 3: @@ -1905,8 +1905,14 @@
! 4: /* Print (or display) a message before abnormal exit (including */
! 5: /* abort). Invoked from ABORT(msg) macro (there msg is non-NULL) */
! 6: /* and from EXIT() macro (msg is NULL in that case). */
! 7: - STATIC void GC_CALLBACK GC_default_on_abort(const char *msg)
1.1 moko 8: +
1.2 ! moko 9: +void *pa_fail_alloc(const char* what);
! 10: +
! 11: +STATIC void GC_CALLBACK GC_default_on_abort(const char *msg)
1.1 moko 12: {
13: + pa_fail_alloc(msg);
1.2 ! moko 14: +
! 15: +
! 16: # ifndef DONT_USE_ATEXIT
! 17: skip_gc_atexit = TRUE; /* disable at-exit GC_gcollect() */
! 18: # endif
E-mail: