aboutsummaryrefslogtreecommitdiffstats
path: root/mbsupport.h
diff options
context:
space:
mode:
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