2013-09-26 17:14:40 +02:00

23 lines
565 B
Plaintext

$NetBSD: patch-an,v 1.7 2010/01/29 18:19:09 adam Exp $
--- src/corelib/concurrent/qtconcurrentiteratekernel.cpp.orig 2010-01-15 17:01:36.000000000 +0000
+++ 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>
#include <unistd.h>
@@ -67,7 +67,7 @@ enum {
MedianSize = 7
};
-#if defined(Q_OS_MAC)
+#if defined(Q_OS_MAC) || defined(__APPLE__)
static qint64 getticks()
{