mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-05-14 07:19:36 +08:00
Update due to Newlib <sys/cdefs.h> changes
This commit is contained in:
parent
fabbca4048
commit
a3dde3ee78
@ -30,7 +30,7 @@
|
|||||||
#ifndef _SYS_LINKER_SET_HH_
|
#ifndef _SYS_LINKER_SET_HH_
|
||||||
#define _SYS_LINKER_SET_HH_
|
#define _SYS_LINKER_SET_HH_
|
||||||
|
|
||||||
#ifndef _SYS_CDEFS_HH_
|
#ifndef _SYS_CDEFS_H_
|
||||||
#error this file needs sys/cdefs.h as a prerequisite
|
#error this file needs sys/cdefs.h as a prerequisite
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -31,6 +31,8 @@
|
|||||||
/* XXX hack so /opt.../machine/param.h can disable MSIZE and use this one */
|
/* XXX hack so /opt.../machine/param.h can disable MSIZE and use this one */
|
||||||
#define __NEW_RTEMS_BSD__
|
#define __NEW_RTEMS_BSD__
|
||||||
|
|
||||||
|
#include <sys/cdefs.h>
|
||||||
|
|
||||||
#ifndef _RTEMS_BSD_BSD_HH_
|
#ifndef _RTEMS_BSD_BSD_HH_
|
||||||
/* General defines to activate BSD kernel parts */
|
/* General defines to activate BSD kernel parts */
|
||||||
#define _KERNEL 1
|
#define _KERNEL 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user