mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-29 08:21:18 +01:00
Merge pull request #1496 from LudwigOrtmann/osx-fixup
native: reenable compilation on osx
This commit is contained in:
commit
b8aa5dbaf8
@ -149,7 +149,7 @@ void _native_handle_tap_input(void)
|
||||
}
|
||||
|
||||
#ifdef __MACH__
|
||||
void sigio_child()
|
||||
void sigio_child(void)
|
||||
{
|
||||
pid_t parent = _native_pid;
|
||||
|
||||
|
||||
@ -52,9 +52,13 @@
|
||||
int close(int fildes);
|
||||
|
||||
#ifndef __USECONDS_T_TYPE
|
||||
#ifndef __MACH__
|
||||
typedef unsigned long __USECONDS_T_TYPE;
|
||||
#endif
|
||||
typedef __USECONDS_T_TYPE __useconds_t;
|
||||
#else
|
||||
typedef __darwin_useconds_t __useconds_t;
|
||||
#endif
|
||||
#endif
|
||||
typedef __useconds_t useconds_t;
|
||||
|
||||
/**
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user