diff --git a/target/h/logLib.h b/target/h/logLib.h index cdad49c..a1e7c78 100644 --- a/target/h/logLib.h +++ b/target/h/logLib.h @@ -39,6 +39,9 @@ extern INT API_LogMsg(CPCHAR pcFormat, (PVOID)d, (PVOID)e, (PVOID)f, \ 0, 0, 0, 0, FALSE); \ } while (0) +#else +#undef logFdAdd +#undef logFdDelete #endif /* __SYLIXOS_KERNEL */ extern STATUS logFdAdd(int fd); diff --git a/target/src/logLib.c b/target/src/logLib.c index 26cbe55..65fc849 100644 --- a/target/src/logLib.c +++ b/target/src/logLib.c @@ -14,6 +14,9 @@ #include #include "vxWorksCommon.h" +#undef logFdAdd +#undef logFdDelete + /* * fd pool */