Correct GC version confirmation

This commit is contained in:
Tatsuya Kinoshita
2015-05-03 11:44:14 +09:00
parent 1aa26e6d4f
commit 928af643ca

2
main.c
View File

@@ -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