hotfix for newer GCC
This commit is contained in:
parent
188691d285
commit
27179454a9
7
sh.h
7
sh.h
@ -175,7 +175,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef EXTERN
|
#ifdef EXTERN
|
||||||
__RCSID("$MirOS: src/bin/mksh/sh.h,v 1.758 2016/01/21 18:24:43 tg Exp $");
|
__RCSID("$MirOS: src/bin/mksh/sh.h,v 1.759 2016/01/21 19:38:09 tg Exp $");
|
||||||
#endif
|
#endif
|
||||||
#define MKSH_VERSION "R52 2016/01/21"
|
#define MKSH_VERSION "R52 2016/01/21"
|
||||||
|
|
||||||
@ -867,7 +867,12 @@ EXTERN const char T_function[] E_INIT(" function");
|
|||||||
EXTERN const char T_funny_command[] E_INIT("funny $() command");
|
EXTERN const char T_funny_command[] E_INIT("funny $() command");
|
||||||
#define Tcommand (T_funny_command + 10) /* "command" */
|
#define Tcommand (T_funny_command + 10) /* "command" */
|
||||||
EXTERN const char Tfg_badsubst[] E_INIT("fileglob: bad substitution");
|
EXTERN const char Tfg_badsubst[] E_INIT("fileglob: bad substitution");
|
||||||
|
#if defined(__GNUC__)
|
||||||
|
/* trust this to have string pooling; -Wformat bitches otherwise */
|
||||||
|
#define Tbadsubst "bad substitution"
|
||||||
|
#else
|
||||||
#define Tbadsubst (Tfg_badsubst + 10) /* "bad substitution" */
|
#define Tbadsubst (Tfg_badsubst + 10) /* "bad substitution" */
|
||||||
|
#endif
|
||||||
EXTERN const char Tmissinghere[] E_INIT("missing here document");
|
EXTERN const char Tmissinghere[] E_INIT("missing here document");
|
||||||
#define Theredoc (Tmissinghere + 8) /* "here document" */
|
#define Theredoc (Tmissinghere + 8) /* "here document" */
|
||||||
EXTERN const char TC_LEX1[] E_INIT("|&;<>() \t\n");
|
EXTERN const char TC_LEX1[] E_INIT("|&;<>() \t\n");
|
||||||
|
Loading…
Reference in New Issue
Block a user