From 1c931f6f51c050ee9ad0b837dd2d0233f1dc3221 Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Wed, 14 Mar 2012 11:17:48 +0200 Subject: Fix compile warnings on DJGPP. --- mbsupport.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'mbsupport.h') 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 -- cgit v1.2.3