mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
Merge pull request #5056 from Yonezawa-T2/os_x_thread_t
native: workaround for thread_t name collision
This commit is contained in:
commit
c6bad1ce07
@ -27,6 +27,8 @@
|
||||
#include <mach/mach_init.h>
|
||||
#include <mach/mach_port.h>
|
||||
#include <mach/mach_host.h>
|
||||
/* Both OS X and RIOT typedef thread_t. timer.c does not use either thread_t. */
|
||||
#define thread_t riot_thread_t
|
||||
#endif
|
||||
|
||||
#include <time.h>
|
||||
|
Loading…
Reference in New Issue
Block a user