summaryrefslogtreecommitdiff
path: root/zen/file_id_def.h
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:23:19 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:23:19 +0200
commit0887aee8c54d0ed51bb2031431e2bcdafebb4c6e (patch)
tree69537ceb9787bb25ac363cc4e6cdaf0804d78363 /zen/file_id_def.h
parent5.12 (diff)
downloadFreeFileSync-0887aee8c54d0ed51bb2031431e2bcdafebb4c6e.tar.gz
FreeFileSync-0887aee8c54d0ed51bb2031431e2bcdafebb4c6e.tar.bz2
FreeFileSync-0887aee8c54d0ed51bb2031431e2bcdafebb4c6e.zip
5.13
Diffstat (limited to 'zen/file_id_def.h')
-rw-r--r--zen/file_id_def.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/zen/file_id_def.h b/zen/file_id_def.h
index 5f485c68..54012b4f 100644
--- a/zen/file_id_def.h
+++ b/zen/file_id_def.h
@@ -13,7 +13,7 @@
#ifdef FFS_WIN
#include "win.h" //includes "windows.h"
-#elif defined FFS_LINUX
+#elif defined FFS_LINUX || defined FFS_MAC
#include <sys/stat.h>
#endif
@@ -49,7 +49,7 @@ assert_static(sizeof(FileId().second) == sizeof(BY_HANDLE_FILE_INFORMATION().nFi
assert_static(sizeof(FileId().second) == sizeof(ULARGE_INTEGER));
-#elif defined FFS_LINUX
+#elif defined FFS_LINUX || defined FFS_MAC
namespace impl { typedef struct ::stat StatDummy; } //sigh...
typedef decltype(impl::StatDummy::st_dev) DeviceId;
bgstack15