Feature/router bsd (#821)
* fix router compile warnings declaration-after-statement overlength-strings * router disable PRINT(debug_level) * ports rename dlmstp_[linux|bsd] to dlmstp_port * copy ports/linux/dlmstp_port.c ports/bsd/dlmstp_port.c * copy ports/linux/dlmstp_port.c ports/bsd/dlmstp_port.c * fix typedef in bip_get_local_address_ioctl * copy ports/linux/dlmstp_port.c ports/bsd/dlmstp_port.c * add bsd support for router app * fix clang __attribute__ optimize dont work clang O2/O3/Os are also not working * fix pre-commit * fix bsd SO_BINDTODEVICE is not available * add brew install libconfig for app router and bsd * fix BACDL_MSTP test on macOS * remove old comments
This commit is contained in:
@@ -14,16 +14,9 @@
|
||||
#include <sys/ipc.h>
|
||||
#include "mstpmodule.h"
|
||||
#include "bacnet/bacint.h"
|
||||
#include "dlmstp_linux.h"
|
||||
#include "dlmstp_port.h"
|
||||
#include <termios.h>
|
||||
|
||||
#define MSTP_THREAD_PRINT_ENABLED
|
||||
#ifdef MSTP_THREAD_PRINT_ENABLED
|
||||
#define mstp_thread_debug(...) fprintf(stderr, __VA_ARGS__)
|
||||
#else
|
||||
#define mstp_thread_debug(...)
|
||||
#endif
|
||||
|
||||
void *dl_mstp_thread(void *pArgs)
|
||||
{
|
||||
ROUTER_PORT *port = (ROUTER_PORT *)pArgs;
|
||||
|
||||
Reference in New Issue
Block a user