mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-16 07:47:12 -04:00
25 lines
616 B
C++
25 lines
616 B
C++
$NetBSD: patch-src_concurrent_qtconcurrentiteratekernel.cpp,v 1.2 2015/10/26 19:03:59 adam Exp $
|
|
|
|
Fix building on Darwin.
|
|
|
|
--- src/concurrent/qtconcurrentiteratekernel.cpp.orig 2013-11-27 01:01:16.000000000 +0000
|
|
+++ 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()
|
|
{
|