diff -ru qt-1.45/include/qregion.h qt-1.45-new/include/qregion.h
--- qt-1.45/include/qregion.h	Fri Nov 12 16:57:10 1999
+++ qt-1.45-new/include/qregion.h	Fri Feb 22 12:16:10 2002
@@ -70,8 +70,10 @@
 // case someone is using #define xor ^ to work around deficiencies in
 // their compiler that cause problems with some other header files.
 //
-#if !(defined(__STRICT_ANSI__) && defined(_CC_GNU_)) && !defined(_CC_EDG_) && !defined(_CC_HP_) && !defined(_CC_HP_ACC_) && !defined(_CC_USLC_) && !defined(_CC_MWERKS_) && !defined(xor)
+#if !(defined(__STRICT_ANSI__) && defined(_CC_GNU_)) && !defined(_CC_EDG_) && !defined(_CC_HP_) && !defined(_CC_HP_ACC_) && !defined(_CC_USLC_) && !defined(_CC_MWERKS_) && !defined(__GNUC_PATCHLEVEL__)
+#if !defined(xor)
     QRegion xor( const QRegion & )	const;
+#endif
 #endif
     QRegion eor( const QRegion & )	const;
 
diff -ru qt-1.45/src/kernel/qregion.cpp qt-1.45-new/src/kernel/qregion.cpp
--- qt-1.45/src/kernel/qregion.cpp	Fri Nov 12 16:57:28 1999
+++ qt-1.45-new/src/kernel/qregion.cpp	Fri Feb 22 12:17:37 2002
@@ -229,7 +229,8 @@
 
 
 // OBSOLETE
-#if !(defined(__STRICT_ANSI__) && defined(_CC_GNU_)) && !defined(_CC_EDG_) && !defined(_CC_HP_) && !defined(_CC_HP_ACC_) && !defined(_CC_USLC_) && !defined(xor)
+#if !(defined(__STRICT_ANSI__) && defined(_CC_GNU_)) && !defined(_CC_EDG_) && !defined(_CC_HP_) && !defined(_CC_HP_ACC_) && !defined(_CC_USLC_) && !defined(__GNUC_PATCHLEVEL__)
+#if !defined(xor)
 /*!
   OBSOLETE - Use eor() instead.
 */
@@ -237,4 +238,5 @@
 {
     return eor(r);
 }
+#endif
 #endif
diff -ru qt-1.45/src/kernel/qregion.h qt-1.45-new/src/kernel/qregion.h
--- qt-1.45/src/kernel/qregion.h	Fri Nov 12 16:57:28 1999
+++ qt-1.45-new/src/kernel/qregion.h	Fri Feb 22 12:16:28 2002
@@ -70,8 +70,10 @@
 // case someone is using #define xor ^ to work around deficiencies in
 // their compiler that cause problems with some other header files.
 //
-#if !(defined(__STRICT_ANSI__) && defined(_CC_GNU_)) && !defined(_CC_EDG_) && !defined(_CC_HP_) && !defined(_CC_HP_ACC_) && !defined(_CC_USLC_) && !defined(_CC_MWERKS_) && !defined(xor)
+#if !(defined(__STRICT_ANSI__) && defined(_CC_GNU_)) && !defined(_CC_EDG_) && !defined(_CC_HP_) && !defined(_CC_HP_ACC_) && !defined(_CC_USLC_) && !defined(_CC_MWERKS_) && !defined(__GNUC_PATCHLEVEL__)
+#if !defined(xor)
     QRegion xor( const QRegion & )	const;
+#endif
 #endif
     QRegion eor( const QRegion & )	const;

