rc: avoid problematic internal names "var", "thread"
For AIX.
This commit is contained in:
parent
dea4dbdba6
commit
20c841bac1
1 changed files with 6 additions and 0 deletions
|
|
@ -33,6 +33,12 @@
|
||||||
#undef pipe /* so that /dev/fd works */
|
#undef pipe /* so that /dev/fd works */
|
||||||
#define searchpath rcsearchpath /* avoid new libc function */
|
#define searchpath rcsearchpath /* avoid new libc function */
|
||||||
|
|
||||||
|
/* some systems define a global "var", "thread" */
|
||||||
|
#undef var
|
||||||
|
#define var rcvar
|
||||||
|
#undef thread
|
||||||
|
#define thread rcthread
|
||||||
|
|
||||||
typedef struct tree tree;
|
typedef struct tree tree;
|
||||||
typedef struct word word;
|
typedef struct word word;
|
||||||
typedef struct io io;
|
typedef struct io io;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue