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

This prevents unicode issues with TCHAR, because we
don't want to import windows.h.
This commit is contained in:
Paul Hollinsky
2022-03-07 12:49:03 -05:00
parent f367fcecca
commit fef6f363f1
+1 -1
View File
@@ -35,7 +35,7 @@ extern "C" {
/* Integer types used for FatFs API */ /* 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 #define FF_INTDEF 2
#include <windows.h> #include <windows.h>
typedef unsigned __int64 QWORD; typedef unsigned __int64 QWORD;