https://opengrok.libreoffice.org/search?project=core&full=WNT&type=cxx&n=50 Here are available some instances of precompiler checks like > #elif defined WNT We already had some cleanups replacing checks for windows to uniform _WIN32 - see https://git.libreoffice.org/core/+/ce43d0ae9279edbf1ad108fe0d8325327a038d49 https://git.libreoffice.org/core/+/92ed91610d30246e671226da081da748f6b16aae https://git.libreoffice.org/core/+/fda27303cfb84ef182696787878dba06c4a129da https://git.libreoffice.org/core/+/e1e39fac2203d10f8a19b18558c42a1943ad8736 etc. But these in the opengrok list are likely leftovers from those commits. The easy hack is to clean up them to use consistent check for _WIN32.
A_GAN committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/42e811a80a3c6f0ca5da359c4a526a1cc3e0d528 tdf#130137 Replace remaining uses of WNT define checks with _WIN32 It will be available in 6.5.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.