Windows 2019 failed here https://github.com/fluent/fluent-bit/actions/runs/14178178470/job/39718022548#step:5:2710 because that plugin uses flb_plg_trace which in turn uses FLB_FILENAME which apparently is not defined in this environment.
@leonardo-albertovich thinks the root cause of it is we're adding the definition in the global CMakeLists.txt file here using the gcc/clang compatible command line flag unconditionally instad of doing it in the previous conditional where we could use /D__FLB_FILENAME__=FILE for msvc and -D__FLB_FILENAME__=FILE for the rest.