]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
Check if TILDE is already defined and undef.
authorDarren Tucker <dtucker@dtucker.net>
Mon, 17 Feb 2020 11:51:36 +0000 (22:51 +1100)
committerDarren Tucker <dtucker@dtucker.net>
Mon, 17 Feb 2020 11:51:36 +0000 (22:51 +1100)
Prevents redefinition warning on AIX.

openbsd-compat/glob.c

index 1e346a8f66791162752a9fc6ac8a52274f4b69dd..9dcc4442fe02cb30b09e85ad7fb0058575b4ad68 100644 (file)
 
 #include "charclass.h"
 
+#ifdef TILDE
+# undef TILDE
+#endif
+
 #define        DOLLAR          '$'
 #define        DOT             '.'
 #define        EOS             '\0'