This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Patch: FYI: win32.h bug fix
- From: Tom Tromey <tromey at redhat dot com>
- To: Java Patch List <java-patches at gcc dot gnu dot org>
- Date: 10 Dec 2002 14:22:54 -0700
- Subject: Patch: FYI: win32.h bug fix
- Reply-to: tromey at redhat dot com
I'm checking this in.
This fixes a typo in win32.h.
Thanks to Laurent Bardet for catching this.
Tom
Index: ChangeLog
from Tom Tromey <tromey@redhat.com>
* include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
From Laurent Bardet <l.bardet@magic.fr>.
Index: include/win32.h
===================================================================
RCS file: /cvs/gcc/gcc/libjava/include/win32.h,v
retrieving revision 1.15
diff -u -r1.15 win32.h
--- include/win32.h 10 Dec 2002 01:39:32 -0000 1.15
+++ include/win32.h 10 Dec 2002 20:10:28 -0000
@@ -26,7 +26,7 @@
#define _Jv_platform_solib_prefix ""
#define _Jv_platform_solib_suffix ".dll"
-#ifndef DISBALE_JAVA_NET
+#ifndef DISABLE_JAVA_NET
// these errors cannot occur on Win32
#define ENOTCONN 0
@@ -36,7 +36,7 @@
#define ENOPROTOOPT 109
#endif
-#endif // DISBALE_JAVA_NET
+#endif // DISABLE_JAVA_NET
extern void _Jv_platform_initialize (void);
extern void _Jv_platform_initProperties (java::util::Properties*);
@@ -48,7 +48,7 @@
// Ignore.
}
-#ifndef DISBALE_JAVA_NET
+#ifndef DISABLE_JAVA_NET
static inline int
_Jv_socket (int domain, int type, int protocol)
@@ -98,7 +98,7 @@
return ::recv (s, (char*) buf, len, 0);
}
-#endif /* DISBALE_JAVA_NET */
+#endif /* DISABLE_JAVA_NET */
#define HAVE_BACKTRACE