pkgsrc/x11/qt4-libs/patches/patch-an
adam f0657bcaf9 Changes 4.5.3:
* This is a bug-fix release.
2009-10-11 09:14:52 +00:00

22 lines
546 B
Text

$NetBSD: patch-an,v 1.6 2009/10/11 09:14:52 adam Exp $
--- src/corelib/concurrent/qtconcurrentiteratekernel.cpp.orig 2009-09-29 13:01:37.000000000 +0200
+++ src/corelib/concurrent/qtconcurrentiteratekernel.cpp
@@ -41,7 +41,7 @@
#include "qtconcurrentiteratekernel.h"
-#if defined(Q_OS_MAC)
+#if defined(Q_OS_MAC) || defined(__APPLE__)
#include <mach/mach.h>
#include <mach/mach_time.h>
@@ -68,7 +68,7 @@ enum {
MedianSize = 7
};
-#if defined(Q_OS_MAC)
+#if defined(Q_OS_MAC) || defined(__APPLE__)
static qint64 getticks()
{