1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

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.
This commit is contained in:
Marian Buschsieweke 2023-05-15 15:35:50 +02:00
parent 4b4d77a0fe
commit 8df1522a15
No known key found for this signature in database
GPG Key ID: CB8E3238CE715A94
2 changed files with 0 additions and 12 deletions

View File

@ -23,10 +23,6 @@
#include <stdint.h>
#include "unaligned.h"
#if defined(__MACH__)
# include "clang_compat.h"
#endif
#ifdef __cplusplus
extern "C" {
#endif

View File

@ -26,14 +26,6 @@
# include <sys/types.h>
#endif
#ifdef __MACH__
/* needed for AVAILABLE_MAC_OS_X_VERSION_10_12_AND_LATER */
#include <AvailabilityMacros.h>
#if !defined(AVAILABLE_MAC_OS_X_VERSION_10_12_AND_LATER)
typedef int clockid_t;
#endif
#endif
#ifdef __cplusplus
extern "C" {
#endif