[PATCH v2 10/18] ptpd: Undefine FALSE and TRUE in ptp_primitives.h

Gabriel Moyano gabriel.moyano at dlr.de
Mon Apr 17 07:59:23 UTC 2023


From: Chris Johns <chrisj at rtems.org>

---
 rtemsbsd/ptpd/src/ptp_primitives.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/rtemsbsd/ptpd/src/ptp_primitives.h b/rtemsbsd/ptpd/src/ptp_primitives.h
index 56ded20c..d70ae06e 100644
--- a/rtemsbsd/ptpd/src/ptp_primitives.h
+++ b/rtemsbsd/ptpd/src/ptp_primitives.h
@@ -1,7 +1,8 @@
 #ifndef PTP_PRIMITIVES_H_
 #define PTP_PRIMITIVES_H_
 
-
+#undef FALSE
+#undef TRUE
 typedef enum {FALSE=0, TRUE} Boolean;
 typedef char Octet;
 typedef int8_t Integer8;
-- 
2.25.1



More information about the devel mailing list