mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-25 22:43:50 +01:00
native/freebsd: fix usecond typdef
This commit is contained in:
parent
6fba6a7f5a
commit
e40f4c1912
@ -52,13 +52,15 @@
|
||||
int close(int fildes);
|
||||
|
||||
#ifndef __USECONDS_T_TYPE
|
||||
#ifndef __MACH__
|
||||
#if !(defined(__MACH__) || defined(__FreeBSD__))
|
||||
typedef unsigned long __USECONDS_T_TYPE;
|
||||
typedef __USECONDS_T_TYPE __useconds_t;
|
||||
#else
|
||||
#ifdef __MACH__
|
||||
typedef __darwin_useconds_t __useconds_t;
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
typedef __useconds_t useconds_t;
|
||||
|
||||
/**
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user