aboutsummaryrefslogtreecommitdiff
path: root/butl/filesystem
diff options
context:
space:
mode:
Diffstat (limited to 'butl/filesystem')
-rw-r--r--butl/filesystem8
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
};