Skip to content

Use compiler directive to include config.h as a first file

Ondřej Surý requested to merge 4-autoinclude-config.h into master

This is part of the conversion to modern buildchain. The compiler directive (-include for gcc/clang) and (ForcedIncludeFiles for MSVC) is used to make sure config.h is always included as a first file.

Coccinelle was then used to remove #include <config.h> from the source files.

Edited by Ondřej Surý

Merge request reports