mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-14 21:02:33 +08:00
Fix errno redefined warning
This commit is contained in:
@@ -40,10 +40,12 @@
|
||||
|
||||
#ifndef _KERNEL
|
||||
#include <sys/cdefs.h>
|
||||
#ifndef __rtems__
|
||||
__BEGIN_DECLS
|
||||
int * __error(void);
|
||||
__END_DECLS
|
||||
#define errno (* __error())
|
||||
#endif /* __rtems__ */
|
||||
#endif
|
||||
|
||||
#ifndef __rtems__
|
||||
|
Reference in New Issue
Block a user