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 From 2ce7559261a641c222eecf7bc2718e0832613d14 Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Wed, 28 Mar 2012 21:58:12 +0200 Subject: Update copyrights where needed. --- mbsupport.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mbsupport.h') diff --git a/mbsupport.h b/mbsupport.h index 80821c6a..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. -- cgit v1.2.3