[rtems-libbsd commit] yp_prot.h: bool defined in newer code base in stdbool .h
Joel Sherrill
joel at rtems.org
Fri Aug 24 20:48:36 UTC 2012
Module: rtems-libbsd
Branch: master
Commit: 5df92c34f6f7a2f1058daec37a2be9befea5e0ad
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=5df92c34f6f7a2f1058daec37a2be9befea5e0ad
Author: Joel Sherrill <joel.sherrill at oarcorp.com>
Date: Fri Aug 24 15:38:52 2012 -0500
yp_prot.h: bool defined in newer code base in stdbool.h
Hopefully using stdbool.h for this works.
---
services/librpc/include/rpcsvc/yp_prot.h | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/services/librpc/include/rpcsvc/yp_prot.h b/services/librpc/include/rpcsvc/yp_prot.h
index f29f3ce..354ef63 100644
--- a/services/librpc/include/rpcsvc/yp_prot.h
+++ b/services/librpc/include/rpcsvc/yp_prot.h
@@ -68,7 +68,9 @@
*/
#ifndef BOOL_DEFINED
+/* old code
typedef u_int bool;
+*/
#define BOOL_DEFINED
#endif
More information about the vc
mailing list