diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2016-05-15 17:11:27 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2016-05-31 18:42:55 +0300 |
commit | 61ef82ec2b2ca396667f92a4e5c6ceb729c42086 (patch) | |
tree | 57ca5868483f361a9da28bbfc32f0cc838787b3e /butl/filesystem | |
parent | 79bb0331cb93a736193e733b5ae26d040931a1aa (diff) |
Port to MinGW
Diffstat (limited to 'butl/filesystem')
-rw-r--r-- | butl/filesystem | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/butl/filesystem b/butl/filesystem index 53012fd..943a346 100644 --- a/butl/filesystem +++ b/butl/filesystem @@ -8,7 +8,9 @@ #include <sys/types.h> // mode_t #ifndef _WIN32 -# include <dirent.h> // DIR, struct dirent, *dir() +# include <dirent.h> // DIR +#else +# include <stddef.h> // intptr_t #endif #include <cstddef> // ptrdiff_t @@ -244,9 +246,7 @@ namespace butl #ifndef _WIN32 DIR* h_ {nullptr}; #else - // Check move implementation. - // -# error Win32 implementation lacking + intptr_t h_ {-1}; #endif }; |