From 928af643ca0ecfb25467e35df6a9d4de814d8173 Mon Sep 17 00:00:00 2001 From: Tatsuya Kinoshita Date: Sun, 3 May 2015 11:44:14 +0900 Subject: Correct GC version confirmation --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main.c') 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 -- cgit v1.2.3