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:
parent
4b4d77a0fe
commit
8df1522a15
@ -23,10 +23,6 @@
|
||||
#include <stdint.h>
|
||||
#include "unaligned.h"
|
||||
|
||||
#if defined(__MACH__)
|
||||
# include "clang_compat.h"
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user