ThirdParty: FatFs: Use standard C++ for MSVC 2017+

This prevents unicode issues with TCHAR, because we
don't want to import windows.h.
v0.3.0-dev
Paul Hollinsky 2022-03-07 12:49:03 -05:00
parent f367fcecca
commit fef6f363f1
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ extern "C" {
/* Integer types used for FatFs API */
#if defined(_WIN32) /* Windows VC++ (for development only) */
#if defined(_WIN32) && defined(_MSC_VER) && _MSC_VER < 1910 /* Windows VC++ 2015 and below (for development only) */
#define FF_INTDEF 2
#include <windows.h>
typedef unsigned __int64 QWORD;