mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-06 22:30:07 -05:00
Windows: Use wide-character system APIs
Make CMake compile with -DUNICODE. Make it possible for the 8 bit encoding to eventually be UTF-8 instead ANSI.
This commit is contained in:
committed by
Brad King
parent
ce598cc838
commit
0b9906c2fb
@@ -2224,7 +2224,7 @@ static bool cmLVS6G_IsFAT(const char* dir)
|
||||
char volRoot[4] = "_:/";
|
||||
volRoot[0] = dir[0];
|
||||
char fsName[16];
|
||||
if(GetVolumeInformation(volRoot, 0, 0, 0, 0, 0, fsName, 16) &&
|
||||
if(GetVolumeInformationA(volRoot, 0, 0, 0, 0, 0, fsName, 16) &&
|
||||
strstr(fsName, "FAT") != 0)
|
||||
{
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user