This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

WIN-09: shs.h undef LONG



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





Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]