mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-03 01:38:07 -04:00
23 lines
613 B
C++
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()
|
|
{
|