From 8a9795024164b4a2d35bd157c4abc06f60c7a962 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roman=20Ber=C3=A1nek?= Date: Tue, 17 May 2016 09:29:25 +0200 Subject: [PATCH] Fixed MacTypes.h header import path on OS X El Capitan. --- config/os/macosx/pThreadUtilities.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/config/os/macosx/pThreadUtilities.h b/config/os/macosx/pThreadUtilities.h index a8ed705..725ec75 100644 --- a/config/os/macosx/pThreadUtilities.h +++ b/config/os/macosx/pThreadUtilities.h @@ -66,7 +66,15 @@ #define __PTHREADUTILITIES_H__ #import "pthread.h" + +#import +#ifdef __MAC_OS_X_VERSION_MAX_ALLOWED +#if __MAC_OS_X_VERSION_MAX_ALLOWED >= 101100 +#import +#else #import +#endif +#endif #define THREAD_SET_PRIORITY 0 #define THREAD_SCHEDULED_PRIORITY 1