On FreeBSD, this enables LLVM from ports to be used as the mingw cross-compiler:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274542
``` $ export PATH=/usr/local/llvm17/bin:$PATH $ ./configure --enable-win64 --with-mingw=clang CC=clang CXX=clang++ CPPFLAGS=-I/usr/local/include ```
I filed [a bug report](https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274542) for FreeBSD excluding these header files, and [am starting](https://github.com/freebsd/freebsd-src/pull/915) to fix it.