[openssh-commits] [openssh] 03/05: Check if TILDE is already defined and undef.
git+noreply at mindrot.org
git+noreply at mindrot.org
Mon Feb 17 22:56:55 AEDT 2020
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 at 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 at mindrot.org.
More information about the openssh-commits
mailing list