Mailing List Archive

[openssh] 03/05: Check if TILDE is already defined and undef.
This is an automated email from the git hooks/post-receive script.

dtucker pushed a commit to branch master
in repository openssh.

commit 290c994336a2cfe03c5496bebb6580863f94b232
Author: Darren Tucker <dtucker@dtucker.net>
Date: Mon Feb 17 22:51:36 2020 +1100

Check if TILDE is already defined and undef.

Prevents redefinition warning on AIX.
---
openbsd-compat/glob.c | 4 ++++
1 file changed, 4 insertions(+)

diff --git a/openbsd-compat/glob.c b/openbsd-compat/glob.c
index 1e346a8f..9dcc4442 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'

--
To stop receiving notification emails like this one, please contact
djm@mindrot.org.
_______________________________________________
openssh-commits mailing list
openssh-commits@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-commits