This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
WIN-09: shs.h undef LONG
- From: Adam Megacz <patches at lists dot megacz dot com>
- To: java-patches at gcc dot gnu dot org
- Date: 01 Feb 2002 00:25:03 -0800
- Subject: WIN-09: shs.h undef LONG
- Organization: Myself
2002-01-31 Adam Megacz <adam@xwt.org>
* shs.h: On Win32, #undef LONG (defined in Win32 headers)
Index: shs.h
===================================================================
RCS file: /cvs/gcc/gcc/libjava/gnu/gcj/io/shs.h,v
retrieving revision 1.1
diff -u -r1.1 shs.h
--- shs.h 2000/05/19 17:55:27 1.1
+++ shs.h 2002/02/01 08:28:17
@@ -14,6 +14,10 @@
#ifndef SHS_H
#define SHS_H
+#ifdef WIN32
+#undef LONG
+#endif
+
typedef unsigned char BYTE;
typedef unsigned int LONG; /* A 32-bit type */