From 38c193cd314a420b3fcdae90f58d26ce0d44655c Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Thu, 5 Nov 2020 15:10:28 +0000 Subject: [PATCH] made some defintions conditional --- hawk/lib/mod-sys.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hawk/lib/mod-sys.c b/hawk/lib/mod-sys.c index 79a2cb00..ebb626a0 100644 --- a/hawk/lib/mod-sys.c +++ b/hawk/lib/mod-sys.c @@ -5163,13 +5163,17 @@ static inttab_t inttab[] = { HAWK_T("TC_CFLAG_B2400"), { B2400 } }, { HAWK_T("TC_CFLAG_B300"), { B300 } }, { HAWK_T("TC_CFLAG_B38400"), { B38400 } }, +#if defined(B460800) { HAWK_T("TC_CFLAG_B460800"), { B460800 } }, +#endif { HAWK_T("TC_CFLAG_B4800"), { B4800 } }, { HAWK_T("TC_CFLAG_B50"), { B50 } }, { HAWK_T("TC_CFLAG_B57600"), { B57600 } }, { HAWK_T("TC_CFLAG_B600"), { B600 } }, { HAWK_T("TC_CFLAG_B75"), { B75 } }, +#if defined(B921600) { HAWK_T("TC_CFLAG_B921600"), { B921600 } }, +#endif { HAWK_T("TC_CFLAG_B9600"), { B9600 } }, { HAWK_T("TC_CFLAG_CLOCAL"), { CLOCAL } },