aboutsummaryrefslogtreecommitdiffstats
path: root/mbsupport.h
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2012-03-22 22:10:13 +0200
committerArnold D. Robbins <arnold@skeeve.com>2012-03-22 22:10:13 +0200
commitc7f51459f7da3e0c693f8a950726869d99e5bcf2 (patch)
tree2e4b54cc695adc5b4fdaec56e237250c030a5419 /mbsupport.h
parent1e495ca269aa2653bf804088ebe532b67110a3ef (diff)
parentb467a6d3d604723e0c152dceb09e998c059bfa40 (diff)
downloadegawk-c7f51459f7da3e0c693f8a950726869d99e5bcf2.tar.gz
egawk-c7f51459f7da3e0c693f8a950726869d99e5bcf2.tar.bz2
egawk-c7f51459f7da3e0c693f8a950726869d99e5bcf2.zip
Merge branch 'gawk-4.0-stable'
Diffstat (limited to 'mbsupport.h')
-rw-r--r--mbsupport.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/mbsupport.h b/mbsupport.h
index f647d788..80821c6a 100644
--- a/mbsupport.h
+++ b/mbsupport.h
@@ -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