diff options
Diffstat (limited to 'pc')
-rw-r--r-- | pc/ChangeLog | 4 | ||||
-rw-r--r-- | pc/gawkmisc.pc | 8 |
2 files changed, 12 insertions, 0 deletions
diff --git a/pc/ChangeLog b/pc/ChangeLog index fef06ac5..e921875a 100644 --- a/pc/ChangeLog +++ b/pc/ChangeLog @@ -1,3 +1,7 @@ +2012-03-14 Eli Zaretskii <eliz@gnu.org> + + * gawkmisc.pc (btowc): New version for DJGPP. + 2012-03-01 Scott Deifik <scottd.mail@sbcglobal.net> * Makefile.tst: Sync with mainline version. diff --git a/pc/gawkmisc.pc b/pc/gawkmisc.pc index 6e5b8bb8..b2a67a50 100644 --- a/pc/gawkmisc.pc +++ b/pc/gawkmisc.pc @@ -595,4 +595,12 @@ unsetenv (const char *name) return putenv (name); } +/* This is needed to defeat too-clever GCC warnings in dfa.c about + comparison being always false due to limited range of data type. */ +wint_t +btowc (int c) +{ + return c; +} + #endif /* __DJGPP__ */ |