meson: add missing defines/detections

Since they are not in config.h we need to pass them manually where the define is used. This is working differently than autotools where these defines are set globally.

Alternative to !6324 (closed) for the code used on Windows.

Merge request reports

Loading