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

Gabriel Moyano gabriel.moyano at dlr.de
Wed Apr 12 13:54:14 UTC 2023


From: Chris Johns <chrisj at rtems.org>

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

diff --git a/freebsd/contrib/ptpd/src/ptp_primitives.h b/freebsd/contrib/ptpd/src/ptp_primitives.h
index 56ded20c..d70ae06e 100644
--- a/freebsd/contrib/ptpd/src/ptp_primitives.h
+++ b/freebsd/contrib/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