Fix errno redefined warning

This commit is contained in:
Sebastian Huber
2016-11-10 13:25:58 +01:00
parent c418b7a213
commit b01ce52ef4

View File

@@ -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__