summaryrefslogtreecommitdiff
path: root/libjava/acconfig.h
diff options
context:
space:
mode:
authoroliva <oliva@138bc75d-0d04-0410-961f-82ee72b054a4>1999-08-21 14:26:44 +0000
committeroliva <oliva@138bc75d-0d04-0410-961f-82ee72b054a4>1999-08-21 14:26:44 +0000
commit2e49169de64393c4ebae9e4221b650ff223e9a4a (patch)
tree936dcb136f4e1a15f7189da9628cb51caeeaf701 /libjava/acconfig.h
parent7ebd7b4a5cb2eb8093b5722d891eaf9c8b8aa829 (diff)
downloadgcc-2e49169de64393c4ebae9e4221b650ff223e9a4a.tar.gz
* configure.in: Check for in_addr_t in netinet/in.h too. Check
for ip_mreq too. * acconfig.h: Define HAVE_IN_ADDR_T instead of in_addr_t. (HAVE_STRUCT_IP_MREQ): Added. * configure, include/config.h.in: Rebuilt. * java/net/natInetAddress.cc (aton): Typedef in_addr_t to jint if needed. * java/net/natPlainDatagramSocketImpl.cc (McastReq, mcastGrp): Disable if ip_mreq is not available. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28798 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/acconfig.h')
-rw-r--r--libjava/acconfig.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/libjava/acconfig.h b/libjava/acconfig.h
index 63119e2716a..62ae0135add 100644
--- a/libjava/acconfig.h
+++ b/libjava/acconfig.h
@@ -58,12 +58,16 @@
/* Define to `int' if `ssize_t' is not defined. */
#undef ssize_t
-/* Define to `jint' if `in_addr_t' is not defined. */
-#undef in_addr_t
+/* Define to 1 if `in_addr_t' is defined in sys/types.h or
+ netinet/in.h. */
+#undef HAVE_IN_ADDR_T
/* Define if inet6 structures are defined in netinet/in.h. */
#undef HAVE_INET6
+/* Define if struct ip_mreq is defined in netinet/in.h. */
+#undef HAVE_STRUCT_IP_MREQ
+
/* Define it socklen_t typedef is in sys/socket.h. */
#undef HAVE_SOCKLEN_T