mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-15 02:16:05 +08:00
rpcsvc: Do not re-define "bool"
This commit is contained in:
@@ -67,10 +67,12 @@
|
|||||||
* YPPROC_MAPLIST takes (char *), returns (struct ypmaplist *).
|
* YPPROC_MAPLIST takes (char *), returns (struct ypmaplist *).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef __rtems__
|
||||||
#ifndef BOOL_DEFINED
|
#ifndef BOOL_DEFINED
|
||||||
typedef u_int bool;
|
typedef u_int bool;
|
||||||
#define BOOL_DEFINED
|
#define BOOL_DEFINED
|
||||||
#endif
|
#endif
|
||||||
|
#endif /* __rtems__ */
|
||||||
|
|
||||||
/* Program and version symbols, magic numbers */
|
/* Program and version symbols, magic numbers */
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user