pkgsrc-ng/x11/qt5-qtbase/patches/patch-qtbase_src_concurrent_qtconcurrentiteratekernel.cpp
2014-08-11 13:27:10 +02:00

23 lines
613 B
C++

$NetBSD: patch-qtbase_src_concurrent_qtconcurrentiteratekernel.cpp,v 1.1 2013/12/13 14:38:35 ryoon Exp $
--- qtbase/src/concurrent/qtconcurrentiteratekernel.cpp.orig 2013-11-27 01:01:16.000000000 +0000
+++ qtbase/src/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()
{