Michal Suchanek 81bbb5e67b Define WIN32_LEAN_AND_MEAN globally
In modern Windows code WIN32_LEAN_AND_MEAN should be defined.

Without this define windows.h pulls in some legacy headers, notably
winsocks.h. Modern code that cares about winsocks includes winsocks2.h
which conflicts with winsocks.h. Other code that does not care about
winsocks (OpenGL, fontconfig, ...) includes windows.h pulling in legacy
winsocks.h, causing definition conflicts and build errors.

At worst defining WIN32_LEAN_AND_MEAN requires explicitly including some
additional headers on Windows.
2025-05-11 15:50:10 +00:00
..
2023-04-06 15:01:18 +01:00

This library contains base non-EDA items and extensions to libraries that are used throughout the KiCad codebase. This library should never depend on any parts of the KiCad code outside the thirdparty directory, since this is meant to be the lowest-level library in the dependency chain.