]> andersk Git - openssh.git/commitdiff
- (dtucker) [openbsd-compat/fake-rfc2553.h] Bug #812: #undef getaddrinfo
authordtucker <dtucker>
Wed, 10 Mar 2004 10:06:32 +0000 (10:06 +0000)
committerdtucker <dtucker>
Wed, 10 Mar 2004 10:06:32 +0000 (10:06 +0000)
   before redefining it, silences warnings on Tru64.

ChangeLog
openbsd-compat/fake-rfc2553.h

index 0fdcf821032da3ad5555bd9d7db9e8c13eea1de0..67bf17663aafb5130ce92f90eccfae57a7c34291 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+20040310
+ - (dtucker) [openbsd-compat/fake-rfc2553.h] Bug #812: #undef getaddrinfo
+   before redefining it, silences warnings on Tru64.
+
 20040308
  - (dtucker) [sshd.c] Back out rev 1.270 as it caused problems on some
    platforms (eg SCO, HP-UX) with logging in the wrong TZ.  ok djm@
index 47b790f4e3e5e2828cae2ad76889b9fd5e0a7980..0928ef73a4264a914432d76951c076fd4848741d 100644 (file)
@@ -133,6 +133,9 @@ struct addrinfo {
 #endif /* !HAVE_STRUCT_ADDRINFO */
 
 #ifndef HAVE_GETADDRINFO
+#ifdef getaddrinfo
+# undef getaddrinfo
+#endif
 #define getaddrinfo(a,b,c,d)   (ssh_getaddrinfo(a,b,c,d))
 int getaddrinfo(const char *, const char *, 
     const struct addrinfo *, struct addrinfo **);
This page took 0.519558 seconds and 5 git commands to generate.