diff options
| author | Sudhaushu <[email protected]> | 2019-08-02 09:50:31 -0700 |
|---|---|---|
| committer | Adonais Romero González <[email protected]> | 2019-08-02 09:50:31 -0700 |
| commit | 93ebc330ec53d766b460e981cf83cbdc3c6f60aa (patch) | |
| tree | cfdc072f28192a34265c8bc73cfa64175b6cb804 /avstream/avscamera/mft0/stdafx.h | |
| parent | 1aa39e393c0657d7dfd5110727f3b92d20fc3187 (diff) | |
Fix Avstream sample build for older Windows versions (#393)73321
* fix build break for older windows versions
* modified to remove future changes
Diffstat (limited to 'avstream/avscamera/mft0/stdafx.h')
| -rw-r--r-- | avstream/avscamera/mft0/stdafx.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/avstream/avscamera/mft0/stdafx.h b/avstream/avscamera/mft0/stdafx.h index ef768c0b..037376ec 100644 --- a/avstream/avscamera/mft0/stdafx.h +++ b/avstream/avscamera/mft0/stdafx.h @@ -16,9 +16,11 @@ #endif #include "targetver.h" +#if (NTDDI_VERSION <= NTDDI_WIN7) +#pragma message("MFT0 is in not supported in this target Windows version - Change project settings to target a newer version of Windows") +#endif #include <wrl.h> - #include <initguid.h> #include <mfapi.h> #include <mfidl.h> |
