diff options
Diffstat (limited to 'zencore/filesystem.cpp')
| -rw-r--r-- | zencore/filesystem.cpp | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/zencore/filesystem.cpp b/zencore/filesystem.cpp index 9274b35de..fa9183945 100644 --- a/zencore/filesystem.cpp +++ b/zencore/filesystem.cpp @@ -18,7 +18,9 @@ # include <atlfile.h> # include <winioctl.h> # include <winnt.h> -#else +#endif + +#if ZEN_PLATFORM_LINUX # include <dirent.h> # include <fcntl.h> # include <sys/stat.h> @@ -26,6 +28,13 @@ # include <unistd.h> #endif +#if ZEN_PLATFORM_MAC +# include <dirent.h> +# include <fcntl.h> +# include <sys/stat.h> +# include <unistd.h> +#endif + #include <filesystem> #include <gsl/gsl-lite.hpp> |