aboutsummaryrefslogtreecommitdiffstats
path: root/mbsupport.h
diff options
context:
space:
mode:
authorjohn haque <j.eh@mchsi.com>2012-04-17 13:00:13 -0500
committerjohn haque <j.eh@mchsi.com>2012-04-17 13:00:13 -0500
commitb1062311a3caab9ec89c0f104bd9b4334174f23c (patch)
tree08a64713888026fb80fd80360343a51aebd8a593 /mbsupport.h
parente729adf120f279fd65578a410ca8d2d93a56f0f0 (diff)
parentf0345a29c71a3215adaa0e2fdfefc0c439ea6561 (diff)
downloadegawk-b1062311a3caab9ec89c0f104bd9b4334174f23c.tar.gz
egawk-b1062311a3caab9ec89c0f104bd9b4334174f23c.tar.bz2
egawk-b1062311a3caab9ec89c0f104bd9b4334174f23c.zip
Merge branch 'master' into gawk_mpfr.
Diffstat (limited to 'mbsupport.h')
-rw-r--r--mbsupport.h6
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