Skip to content

Commit

Permalink
Merge pull request #13 from simdsoft/fix-error
Browse files Browse the repository at this point in the history
fix xcode compile error
  • Loading branch information
halx99 authored Nov 28, 2019
2 parents c647976 + c1a0e57 commit 4c57458
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cocos/platform/CCFileUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1368,9 +1368,9 @@ int64_t FileUtils::getFileSize(const std::string &filepath) const
return 0;
}

struct stat64 info;
struct stat info;
// Get data associated with "crt_stat.c":
int result = ::stat64(fullpath.c_str(), &info);
int result = ::stat(fullpath.c_str(), &info);

// Check if statistics are valid:
if (result != 0)
Expand Down

0 comments on commit 4c57458

Please sign in to comment.