Browse Source

Changed logLib to fixed with new kernel.

master
Hanhui 6 years ago
parent
commit
88e044b5d3
  1. 3
      target/h/logLib.h
  2. 3
      target/src/logLib.c

3
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);

3
target/src/logLib.c

@ -14,6 +14,9 @@
#include <sys/select.h>
#include "vxWorksCommon.h"
#undef logFdAdd
#undef logFdDelete
/*
* fd pool
*/

Loading…
Cancel
Save