mirror of
https://github.com/opencv/opencv.git
synced 2026-11-21 08:45:29 -06: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.