diff options
author | Darren Tucker <dtucker@dtucker.net> | 2020-02-17 12:51:36 +0100 |
---|---|---|
committer | Darren Tucker <dtucker@dtucker.net> | 2020-02-17 12:51:36 +0100 |
commit | 290c994336a2cfe03c5496bebb6580863f94b232 (patch) | |
tree | 2873ced250e56bf761a1ae908b309de87cb7e7c7 /openbsd-compat/glob.c | |
parent | Prevent unused variable warning. (diff) | |
download | openssh-290c994336a2cfe03c5496bebb6580863f94b232.tar.xz openssh-290c994336a2cfe03c5496bebb6580863f94b232.zip |
Check if TILDE is already defined and undef.
Prevents redefinition warning on AIX.
Diffstat (limited to 'openbsd-compat/glob.c')
-rw-r--r-- | openbsd-compat/glob.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/openbsd-compat/glob.c b/openbsd-compat/glob.c index 1e346a8f6..9dcc4442f 100644 --- a/openbsd-compat/glob.c +++ b/openbsd-compat/glob.c @@ -83,6 +83,10 @@ #include "charclass.h" +#ifdef TILDE +# undef TILDE +#endif + #define DOLLAR '$' #define DOT '.' #define EOS '\0' |