diff options
Diffstat (limited to 'mbsupport.h')
-rw-r--r-- | mbsupport.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/mbsupport.h b/mbsupport.h index f647d788..db6788ce 100644 --- a/mbsupport.h +++ b/mbsupport.h @@ -3,7 +3,7 @@ */ /* - * Copyright (C) 2004, 2005, 2011 the Free Software Foundation, Inc. + * Copyright (C) 2004, 2005, 2011, 2012 the Free Software Foundation, Inc. * * This file is part of GAWK, the GNU implementation of the * AWK Programming Language. @@ -81,7 +81,9 @@ #define WEOF EOF #define towupper toupper #define towlower tolower -#define btowc(x) (x) +#ifndef DJGPP +#define btowc(x) ((int)x) +#endif #define iswalnum isalnum #define iswalpha isalpha #define iswupper isupper |