Open rmx-it opened 6 years ago
If you make a pull request I can accept it.
Hi, done: Fix compiling for FreeBSD #4188
@rmx-it , Can you please explain this patch to me?
From what I see above, you have moved the defined(__FreeBSD__)
term one #elif
branch to another, but they both enable reading the same #include
file! (<sys/endian.h>
).
Version
1.2.9-1250-g8ca6171a
Operating system type + version
11.1-STABLE FreeBSD 11.1-STABLE #2 r322118:
Behavior
Compile warnings and errors in src/admesh/stlinit.c:30: ... use of undeclared identifier 'letoh32' ...
This is due the fact that xs/src/admesh/portable_endian.h redefines some macros wrong and unnecessarily. The following patch fixes this: