[PATCH] 2.5.51 ntfs - GCC3

From: Justin Pryzby (justinpryzby@users.sourceforge.net)
Date: Tue Dec 10 2002 - 02:51:52 EST


Trivial patch for GCC3.
What was going on with 2.96<=__GNUC__<3 ?!

Justin

diff -Naur linux-2.5.51.org/fs/ntfs/types.h linux-2.5.51.ntfs/fs/ntfs/types.h
--- linux-2.5.51.org/fs/ntfs/types.h 2002-12-10 02:17:52.000000000 -0500
+++ linux-2.5.51.ntfs/fs/ntfs/types.h 2002-12-10 02:41:31.000000000 -0500
@@ -23,12 +23,12 @@
 #ifndef _LINUX_NTFS_TYPES_H
 #define _LINUX_NTFS_TYPES_H
 
-#if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 96)
-#define SN(X) X /* Struct Name */
-#define SC(P,N) P.N /* ShortCut: Prefix, Name */
-#else
+#if __GNUC__ == 2 && __GNUC_MINOR__ >= 96
 #define SN(X)
 #define SC(P,N) N
+#else
+#define SN(X) X /* Struct Name */
+#define SC(P,N) P.N /* ShortCut: Prefix, Name */
 #endif
 
 /* 2-byte Unicode character type. */



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Dec 15 2002 - 22:00:17 EST