aboutsummaryrefslogtreecommitdiffstats
path: root/mbsupport.h
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2012-03-14 11:17:48 +0200
committerArnold D. Robbins <arnold@skeeve.com>2012-03-14 11:17:48 +0200
commit1c931f6f51c050ee9ad0b837dd2d0233f1dc3221 (patch)
tree52b06268211c3d18efc4fb3cb3fd7a2f566e6b6b /mbsupport.h
parent982aa5c89f762f2385f5fe4e7f7faf4b3fed2b1b (diff)
downloadegawk-1c931f6f51c050ee9ad0b837dd2d0233f1dc3221.tar.gz
egawk-1c931f6f51c050ee9ad0b837dd2d0233f1dc3221.tar.bz2
egawk-1c931f6f51c050ee9ad0b837dd2d0233f1dc3221.zip
Fix compile warnings on DJGPP.
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