This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: gcc-3.2 build problem in the java area
>>>>> "Andrew" == Andrew Haley <aph@redhat.com> writes:
Andrew> Hell, whatever works gets my vote! All we need is a nice person out
Andrew> there with a Solaris system to submit a patch...
Can the original reporter try this?
Andrew, if you know who the original reporter is, could you forward it?
Tom
Index: ChangeLog
from Tom Tromey <tromey@redhat.com>
* java/net/natInetAddress.cc (MAXHOSTNAMELEN) [!WIN32]: Define if
not defined.
Index: java/net/natInetAddress.cc
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/net/natInetAddress.cc,v
retrieving revision 1.19
diff -u -r1.19 natInetAddress.cc
--- java/net/natInetAddress.cc 28 Feb 2002 01:03:37 -0000 1.19
+++ java/net/natInetAddress.cc 11 Oct 2002 18:04:13 -0000
@@ -1,6 +1,6 @@
// natInetAddress.cc
-/* Copyright (C) 1998, 1999, 2000 Free Software Foundation
+/* Copyright (C) 1998, 1999, 2000, 2002 Free Software Foundation
This file is part of libgcj.
@@ -42,6 +42,10 @@
#ifdef HAVE_NETDB_H
#include <netdb.h>
#endif
+
+#ifndef MAXHOSTNAMELEN
+#define MAXHOSTNAMELEN 256
+#endif /* MAXHOSTNAMELEN */
#endif /* WIN32 */