Fix mstp on bsd port (#1193)

* fix mstp on macos NS_PER_S is 1s and 0ns

* fix compile on freebsd

* port bsd: add compile warnings and comments

* port bsd: limit pthred prio to OS defined min/max value
e.g. FreeBSD min=0 max=31

* port bsd: fix clangformat
This commit is contained in:
Patrick Grimm
2025-12-25 01:50:29 +01:00
committed by GitHub
parent 88abd3a488
commit 2f6132b13e
5 changed files with 332 additions and 241 deletions
+9
View File
@@ -1 +1,10 @@
This is a port to MAC OS X or FreeBSD for testing.
Install on FreeBSD 15
sudo pkg install cmake git libdispatch
git clone https://github.com/bacnet-stack/bacnet-stack.git
cd bacnet-stack
mkdir build
cd build
cmake ..
make