diff --git a/lib/global.h b/lib/global.h index 580ec0673..f13dfc04f 100644 --- a/lib/global.h +++ b/lib/global.h @@ -117,6 +117,10 @@ #define BUF_SMALL 128 #define BUF_TINY 64 +/* ESC_CHAR is defined in /usr/include/langinfo.h in some systems */ +#ifdef ESC_CHAR +#undef ESC_CHAR +#endif /* AIX compiler doesn't understand '\e' */ #define ESC_CHAR '\033' #define ESC_STR "\033"