Thanks a boatload for the detailed explanation.
Gary
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Gary Aitken writes:
> 1. Is there an easy way to get a list of all the __*__ symbols?
# Works for GCC, Clang and some arcane compilers
$ cc -dM -E - Where / how are these set up?
Predefined macros are set by the compiler. Some are architecture-specific,
some are OS-specific, some depend on
I'm working on porting the prusa slicer. It contains a boatload of
things like
#if defined _WIN32
...
#elif defined(__linux__)
...
#elif defined __APPLE__
...
occasionally there is a
#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) ||
defined(__bsdi__