from kde-cvs: allow compile to progress with qt 3.2

This commit is contained in:
espie 2003-07-01 15:03:31 +00:00
parent 7e85ac2f7b
commit 8ad9da8c2e

View File

@ -0,0 +1,19 @@
$OpenBSD: patch-dcop_kdatastream_h,v 1.1 2003/07/01 15:03:31 espie Exp $
--- dcop/kdatastream.h.orig Tue Jul 1 16:52:57 2003
+++ dcop/kdatastream.h Tue Jul 1 16:53:52 2003
@@ -17,6 +17,7 @@ inline QDataStream & operator >> (QDataS
return str;
}
+#if QT_VERSION < 0x030200
inline QDataStream & operator << (QDataStream & str, long long int ll)
{
Q_INT32 l1,l2;
@@ -50,5 +51,7 @@ inline QDataStream & operator >> (QDataS
ll = ((unsigned long long int)(l2) << 32) + (unsigned long long int) l1;
return str;
}
+
+#endif
#endif