aboutsummaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorTatsuya Kinoshita <tats@debian.org>2015-05-03 02:39:41 +0000
committerTatsuya Kinoshita <tats@debian.org>2015-05-03 02:39:41 +0000
commit1aa26e6d4f03074c57a4940b773334d127e2ad26 (patch)
treeb939eb84dcfad8faf8062c3c12431ad655cb8673 /main.c
parentUpdate ChangeLog (diff)
parentcorrect GC version confirmation (diff)
downloadw3m-1aa26e6d4f03074c57a4940b773334d127e2ad26.tar.gz
w3m-1aa26e6d4f03074c57a4940b773334d127e2ad26.zip
Merge pull request #2 from yshl/gc-7.1
modify 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 8f418ce..12135ce 100644
--- a/main.c
+++ b/main.c
@@ -419,7 +419,7 @@ main(int argc, char **argv, char **envp)
char **getimage_args = NULL;
#endif /* defined(DONT_CALL_GC_AFTER_FORK) && defined(USE_IMAGE) */
GC_INIT();
-#if (GC_VERSION_MAJOR>=7) && (GC_VERSION_MINOR>=2)
+#if (GC_VERSION_MAJOR>7) || ((GC_VERSION_MAJOR==7) && (GC_VERSION_MINOR>=2))
GC_set_oom_fn(die_oom);
#else
GC_oom_fn = die_oom;