From 8df1522a15abfb1604ccd768343121bd9f72d858 Mon Sep 17 00:00:00 2001 From: Marian Buschsieweke Date: Mon, 15 May 2023 15:35:50 +0200 Subject: [PATCH] sys: drop broken and legacy Mac OS handling This drops special handling for Mac OS (X) `native`, which is not supported anymore anyway and causing issues when building for non-`native` targets on Mac OS. --- sys/include/byteorder.h | 4 ---- sys/posix/pthread/include/pthread_cond.h | 8 -------- 2 files changed, 12 deletions(-) diff --git a/sys/include/byteorder.h b/sys/include/byteorder.h index 4683bc7e89..4e401fa17d 100644 --- a/sys/include/byteorder.h +++ b/sys/include/byteorder.h @@ -23,10 +23,6 @@ #include #include "unaligned.h" -#if defined(__MACH__) -# include "clang_compat.h" -#endif - #ifdef __cplusplus extern "C" { #endif diff --git a/sys/posix/pthread/include/pthread_cond.h b/sys/posix/pthread/include/pthread_cond.h index b1ce753abe..342776b773 100644 --- a/sys/posix/pthread/include/pthread_cond.h +++ b/sys/posix/pthread/include/pthread_cond.h @@ -26,14 +26,6 @@ # include #endif -#ifdef __MACH__ -/* needed for AVAILABLE_MAC_OS_X_VERSION_10_12_AND_LATER */ -#include -#if !defined(AVAILABLE_MAC_OS_X_VERSION_10_12_AND_LATER) -typedef int clockid_t; -#endif -#endif - #ifdef __cplusplus extern "C" { #endif