Skip to content

GStreamer media backend: Fix building on Visual Studio

Chun-wei Fan requested to merge gst-backend-msvc into main

Hi,

From the commit message:

Visual Studio (and possibly other non-GCC compilers) do not like uses of #-preprocessor directives in function-like macro usage (warning C5101: use of preprocessor directive in function-like macro argument list is undefined behavior is also shown), so fix the build by defining another macro accordingly.

This will apply in the main and gtk-4-14 branches.

With blessings, thank you!

Edited by Chun-wei Fan

Merge request reports