2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

Restore missing check for flockfile and getc_unlocked

This commit is contained in:
Ondřej Surý
2019-03-07 13:32:30 +01:00
parent a6bb44493c
commit 7eea756858
4 changed files with 28 additions and 1 deletions

View File

@@ -431,7 +431,7 @@ isc_lex_gettoken(isc_lex_t *lex, unsigned int options, isc_token_t *tokenp) {
if (source->is_file) {
stream = source->input;
#if defined(HAVE_FLOCKFILE) && defined(HAVE_GETCUNLOCKED)
#if defined(HAVE_FLOCKFILE) && defined(HAVE_GETC_UNLOCKED)
c = getc_unlocked(stream);
#else
c = getc(stream);