dshow: Define STRSAFE_NO_DEPRECATE while building
commit4118b49f06a1c315102b54695703d98dd218c9c9
authorMartin Storsjö <martin@martin.st>
Fri, 15 Dec 2017 20:52:40 +0000 (15 22:52 +0200)
committerMartin Storsjö <martin@martin.st>
Wed, 28 Feb 2018 09:58:34 +0000 (28 11:58 +0200)
treea28b1e631f1490aab7921082d892d9c7582744ef
parent7e37b7ffbac41ca3e2a44099993a3c05bd16fbf2
dshow: Define STRSAFE_NO_DEPRECATE while building

The mingw dshow.h includes strsafe.h. Normally, strsafe.h deprecates
certain functions like strcpy and strcat, adding defines like
    #define strcpy strcpy_instead_use_StringCbCopyA_or_StringCchCopyA

libcxx contains code that declares "using ::strcpy;" and "using ::strcat;"
within a namespace, which breaks if strsafe.h has been included before.

Add this define to skip the deprecation defines in strsafe.h, fixing
buliding with libcxx.
modules/access/Makefile.am