aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTatsuya Kinoshita <tats@debian.org>2014-08-22 11:41:24 +0000
committerTatsuya Kinoshita <tats@debian.org>2014-08-22 11:42:59 +0000
commitf721415154cb7eb8511018e320a25c899e1ca9f5 (patch)
tree2759302ac99632ec0c19e72403576dc07678a146
parentSupport Boehm GC 7.2 (diff)
downloadw3m-f721415154cb7eb8511018e320a25c899e1ca9f5.tar.gz
w3m-f721415154cb7eb8511018e320a25c899e1ca9f5.zip
Revert "Support Boehm GC 7.2" (w3m-0.5.2-gc72.patch from Gentoo)
This reverts commit 4331db3e3e673ac4dbfe8e9f2b42a8e0478dc98a.
Diffstat (limited to '')
-rw-r--r--main.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/main.c b/main.c
index 7dcfd74..cc17e0e 100644
--- a/main.c
+++ b/main.c
@@ -317,11 +317,7 @@ wrap_GC_warn_proc(char *msg, GC_word arg)
lock = 0;
}
}
-#if GC_VERSION_MAJOR >= 7 && GC_VERSION_MINOR >= 2
- else if (orig_GC_warn_proc = GC_get_warn_proc())
-#else
else if (orig_GC_warn_proc)
-#endif
orig_GC_warn_proc(msg, arg);
else
fprintf(stderr, msg, (unsigned long)arg);
@@ -849,11 +845,7 @@ main(int argc, char **argv, char **envp)
mySignal(SIGPIPE, SigPipe);
#endif
-#if GC_VERSION_MAJOR >= 7 && GC_VERSION_MINOR >= 2
- GC_set_warn_proc(wrap_GC_warn_proc);
-#else
orig_GC_warn_proc = GC_set_warn_proc(wrap_GC_warn_proc);
-#endif
err_msg = Strnew();
if (load_argc == 0) {
/* no URL specified */