mirror of
https://github.com/opencv/opencv.git
synced 2026-09-12 05:11:04 -05:00
clang-cl defines both __clang__ and _MSC_VER, yet uses `#pragma GCC` to disable certain diagnostics. At the time `-Wreturn-type-c-linkage` was reported by clang-cl. This PR fixes this behavior by reordering defines.