We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2f9f464 commit 1cffe12Copy full SHA for 1cffe12
1 file changed
lib/importproject.cpp
@@ -1511,8 +1511,13 @@ void ImportProject::setFileSizes()
1511
for (auto &fs : fileSettings) {
1512
int statResult;
1513
#ifdef _WIN32
1514
+#ifdef _WIN64
1515
+ struct _stati64 statBuf;
1516
+ statResult = _stati64(fs.filename().c_str(), &statBuf);
1517
+#else
1518
struct _stat statBuf;
1519
statResult = _stat(fs.filename().c_str(), &statBuf);
1520
+#endif
1521
#else
1522
struct stat statBuf;
1523
statResult = stat(fs.filename().c_str(), &statBuf);
0 commit comments