summaryrefslogtreecommitdiff
path: root/libjava/include
diff options
context:
space:
mode:
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>1999-08-01 00:14:32 +0000
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>1999-08-01 00:14:32 +0000
commit98db1361170bbb32057c08c3d9e7bfd5caf8dc7c (patch)
tree83d44668e24d60cd0ba72a110c5c6db1266ca3cc /libjava/include
parentfcb013864b11e541adbf9456e57be40eb9dcf664 (diff)
downloadgcc-98db1361170bbb32057c08c3d9e7bfd5caf8dc7c.tar.gz
1999-07-31 Alexandre Oliva <oliva@dcc.unicamp.br>
* configure.in: Check for struct hostent_data and need for -D_REENTRANT for gethostbyname_r declaration. * java/net/natInetAddress.cc: Define _REENTRANT if needed. (lookup): Use hostent_data for fixed_buffer. * configure, include/config.h.in: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28369 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/include')
-rw-r--r--libjava/include/config.h.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/libjava/include/config.h.in b/libjava/include/config.h.in
index e6fbe5da680..bd43c75905b 100644
--- a/libjava/include/config.h.in
+++ b/libjava/include/config.h.in
@@ -268,3 +268,9 @@
/* Version number of package */
#undef VERSION
+/* Define if gethostbyname_r is only declared if _REENTRANT is defined */
+#undef GETHOSTBYNAME_R_NEEDS_REENTRANT
+
+/* Define if struct hostent_data is defined in netdb.h */
+#undef HAVE_STRUCT_HOSTENT_DATA
+