From: Darren Tucker Date: Mon, 17 Feb 2020 11:51:36 +0000 (+1100) Subject: Check if TILDE is already defined and undef. X-Git-Tag: V_8_3_P1~150 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=290c994336a2cfe03c5496bebb6580863f94b232;p=thirdparty%2Fopenssh-portable.git Check if TILDE is already defined and undef. Prevents redefinition warning on AIX. --- 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'