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