[vlc-devel] [vlc-commits] Win32: force 0x601 for _WIN32_WINNT

Rémi Denis-Courmont remi at remlab.net
Mon Dec 4 10:38:54 CET 2017

config.h inclusion is supposed to always be the very first preprocessing directive. (That's why it's bad idea to include it in other headers.)

You can always undefine the value after that. How well that works depends on how many system headers are included by config.h.

But in general, mixing environment is not supported by autoconf (nor CMake, and probably not Meson either). In particular, you might have conflicts between config.h and system headers if you change the environment (as we had before this patch was merged). Using CFLAGS instead of AC_DEFINE would exhibit the same limitations.
Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.

More information about the vlc-devel mailing list