WIN-09: shs.h undef LONG

Adam Megacz patches@lists.megacz.com
Fri Feb 1 00:29:00 GMT 2002


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 */
 






More information about the Java-patches mailing list