commit | c453ca7f8115449d5c512948711b53ecc8410503 | [log] [tgz] |
---|---|---|
author | Sébastien Blin <sebastien.blin@savoirfairelinux.com> | Wed Aug 30 14:00:36 2023 -0400 |
committer | Sébastien Blin <sebastien.blin@savoirfairelinux.com> | Wed Aug 30 14:00:36 2023 -0400 |
tree | 294ca9d3f43af5cdc1b78a4a66a44450cd81dfad | |
parent | abdbe2026621d9e4b50ec72c259df6f5d240b665 [diff] [blame] |
fileutils: fix definition of mode_t on windows Change-Id: I19a93497aada7b89fe85bfac56ff6b896261e09c
diff --git a/include/fileutils.h b/include/fileutils.h index 80efe42..7b1cc72 100644 --- a/include/fileutils.h +++ b/include/fileutils.h
@@ -26,6 +26,8 @@ #ifndef _WIN32 #include <sys/stat.h> // mode_t +#else +#define mode_t unsigned #endif namespace dhtnet {