Merge pull request #546 from kiwix/fix_win_cross_compilation

pull/553/head
Matthieu Gautier 4 years ago committed by GitHub
commit 9a07dd8314
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -138,7 +138,7 @@ void setup_sighandlers()
uint64_t fileModificationTime(const std::string& path) uint64_t fileModificationTime(const std::string& path)
{ {
#if defined(_WIN32) #if defined(_WIN32) && !defined(stat)
#define stat _stat #define stat _stat
#endif #endif
struct stat fileStatData; struct stat fileStatData;

Loading…
Cancel
Save