mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
Portability: ESC_CHAR is defined in /usr/include/langinfo.h in some systems
...so undefine it to avoid warning. Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
e9f883a3cf
commit
b475e31255
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user