From 31c14638d661559cfb5aeda90c6854eb25934c39 Mon Sep 17 00:00:00 2001 From: Alex Valavanis Date: Thu, 31 Dec 2015 10:07:17 +0000 Subject: Enable build with old libgc version Fixed bugs: - https://launchpad.net/bugs/1530286 (bzr r14558) --- src/inkgc/gc.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src') diff --git a/src/inkgc/gc.cpp b/src/inkgc/gc.cpp index ffa94ea2a..9372ac693 100644 --- a/src/inkgc/gc.cpp +++ b/src/inkgc/gc.cpp @@ -28,9 +28,15 @@ void display_warning(char *msg, GC_word arg) { } void do_init() { +#if WITH_GC_7_2 GC_set_no_dls(1); GC_set_all_interior_pointers(1); GC_set_finalize_on_demand(0); +#else + GC_no_dls = 1; + GC_all_interior_pointers = 1; + GC_finalize_on_demand = 0; +#endif GC_INIT(); -- cgit v1.2.3