X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=protos.h;h=8178944c27dae95d2e95a7608a5d399a648c4a79;hp=4b1841899cb42e3fd31d0cdd9a30c6c077e78291;hb=0ac011f8eb41bab7808881ebf9802b4eb252fe3b;hpb=efe9a0bac26a7dabf3953ea0597ce06b3dcb21fe diff --git a/protos.h b/protos.h index 4b18418..8178944 100644 --- a/protos.h +++ b/protos.h @@ -305,17 +305,11 @@ int mutt_from_base64 (char *, const char *); /* utf8.c */ int mutt_wctoutf8 (char *s, unsigned int c); -#ifdef LOCALES_HACK -#define IsPrint(c) (isprint((unsigned char)(c)) || \ - ((unsigned char)(c) >= 0xa0)) -#define IsWPrint(wc) (iswprint(wc) || wc >= 0xa0) -#else #define IsPrint(c) (isprint((unsigned char)(c)) || \ (option (OPTLOCALES) ? 0 : \ ((unsigned char)(c) >= 0xa0))) #define IsWPrint(wc) (iswprint(wc) || \ (option (OPTLOCALES) ? 0 : (wc >= 0xa0))) -#endif #define new_pattern() p_new(pattern_t, 1) @@ -351,11 +345,6 @@ int getdnsdomainname (char *, size_t); #define SCO #endif -/* SCO Unix uses chsize() instead of ftruncate() */ -#ifndef HAVE_FTRUNCATE -#define ftruncate chsize -#endif - #ifndef HAVE_SNPRINTF extern int snprintf (char *, size_t, const char *, ...); #endif