aboutsummaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorTatsuya Kinoshita <tats@debian.org>2015-05-03 02:44:14 +0000
committerTatsuya Kinoshita <tats@debian.org>2015-05-03 02:44:14 +0000
commit928af643ca0ecfb25467e35df6a9d4de814d8173 (patch)
tree61a7359f2c99e86a4cc4303ad2a05dcc06a3adbf /main.c
parentMerge pull request #2 from yshl/gc-7.1 (diff)
downloadw3m-928af643ca0ecfb25467e35df6a9d4de814d8173.tar.gz
w3m-928af643ca0ecfb25467e35df6a9d4de814d8173.zip
Correct GC version confirmation
Diffstat (limited to '')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index 12135ce..9cac333 100644
--- a/main.c
+++ b/main.c
@@ -908,7 +908,7 @@ main(int argc, char **argv, char **envp)
mySignal(SIGPIPE, SigPipe);
#endif
-#if GC_VERSION_MAJOR >= 7 && GC_VERSION_MINOR >= 2
+#if (GC_VERSION_MAJOR>7) || ((GC_VERSION_MAJOR==7) && (GC_VERSION_MINOR>=2))
orig_GC_warn_proc = GC_get_warn_proc();
GC_set_warn_proc(wrap_GC_warn_proc);
#else