rendered paste bodyIndex: inet_ntop.c
===================================================================
RCS file: /repository/bindlib_w32/inet_ntop.c,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 inet_ntop.c
--- inet_ntop.c 26 Apr 1999 14:02:32 -0000 1.1.1.1
+++ inet_ntop.c 23 Apr 2008 10:41:46 -0000
@@ -53,6 +53,7 @@
* author:
* Paul Vixie, 1996.
*/
+#if !defined(NTDDI_VERSION) || (NTDDI_VERSION < NTDDI_VISTA)
const char *
inet_ntop(af, src, dst, size)
int af;
@@ -76,6 +77,7 @@
}
/* NOTREACHED */
}
+#endif
/* const char *
* inet_ntop4(src, dst, size)
Index: inet_pton.c
===================================================================
RCS file: /repository/bindlib_w32/inet_pton.c,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 inet_pton.c
--- inet_pton.c 26 Apr 1999 14:02:33 -0000 1.1.1.1
+++ inet_pton.c 23 Apr 2008 10:42:02 -0000
@@ -49,6 +49,7 @@
* author:
* Paul Vixie, 1996.
*/
+#if !defined(NTDDI_VERSION) || (NTDDI_VERSION < NTDDI_VISTA)
int
inet_pton(af, src, dst)
int af;
@@ -70,6 +71,7 @@
}
/* NOTREACHED */
}
+#endif
/* int
* inet_pton4(src, dst)
Index: arpa/inet.h
===================================================================
RCS file: /repository/bindlib_w32/arpa/inet.h,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 inet.h
--- arpa/inet.h 26 Apr 1999 14:03:46 -0000 1.1.1.1
+++ arpa/inet.h 23 Apr 2008 10:37:14 -0000
@@ -93,8 +93,10 @@
#ifndef WINNT
char *inet_ntoa __P((struct in_addr));
#endif
+#if !defined(NTDDI_VERSION) || (NTDDI_VERSION < NTDDI_VISTA)
int inet_pton __P((int, const char *, void *));
const char *inet_ntop __P((int, const void *, char *, size_t));
+#endif
u_int inet_nsap_addr __P((const char *, u_char *, int));
char *inet_nsap_ntoa __P((int, const u_char *, char *));
__END_DECLS