Commit d2ba09e6 authored by Artur Wieczorek's avatar Artur Wieczorek

Fix linking error under Win 7 - do not import MinCore_Downlevel.lib if target is Win 7 or earlier.

parent 6c3cadbd
......@@ -78,7 +78,9 @@
#pragma comment(lib, "mfuuid")
#pragma comment(lib, "Strmiids")
#pragma comment(lib, "Mfreadwrite")
#if (WINVER >= 0x0602) // Available since Win 8
#pragma comment(lib, "MinCore_Downlevel")
#endif
#include <mferror.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment