Duplicate header name only if found
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
0b343021da
commit
f6a38e180e
2
mjit.c
2
mjit.c
@ -416,11 +416,11 @@ init_header_filename(void)
|
|||||||
verbose(3, "PRELOADENV("PRELOADENV")=%s", getenv(PRELOADENV));
|
verbose(3, "PRELOADENV("PRELOADENV")=%s", getenv(PRELOADENV));
|
||||||
/* assume no other PRELOADENV in test-all */
|
/* assume no other PRELOADENV in test-all */
|
||||||
unsetenv(PRELOADENV);
|
unsetenv(PRELOADENV);
|
||||||
}
|
|
||||||
verbose(3, "MJIT_HEADER: %s", hdr);
|
verbose(3, "MJIT_HEADER: %s", hdr);
|
||||||
header_file = ruby_strdup(hdr);
|
header_file = ruby_strdup(hdr);
|
||||||
if (!header_file) return FALSE;
|
if (!header_file) return FALSE;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
else
|
else
|
||||||
#endif
|
#endif
|
||||||
#ifndef _MSC_VER
|
#ifndef _MSC_VER
|
||||||
|
Loading…
x
Reference in New Issue
Block a user