mirror of
https://github.com/opencv/opencv.git
synced 2026-09-27 04:09:45 +03: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.