aboutsummaryrefslogtreecommitdiffstats
path: root/src/platforms/posix/posixFile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/platforms/posix/posixFile.cpp')
-rw-r--r--src/platforms/posix/posixFile.cpp11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/platforms/posix/posixFile.cpp b/src/platforms/posix/posixFile.cpp
index 4087a21f..2f67a2be 100644
--- a/src/platforms/posix/posixFile.cpp
+++ b/src/platforms/posix/posixFile.cpp
@@ -21,6 +21,12 @@
// the GNU General Public License cover the whole combination.
//
+#include "vmime/config.hpp"
+
+
+#if VMIME_PLATFORM_IS_POSIX && VMIME_HAVE_FILESYSTEM_FEATURES
+
+
#include "vmime/platforms/posix/posixFile.hpp"
#include <unistd.h>
@@ -38,9 +44,6 @@
#include "vmime/exception.hpp"
-#if VMIME_HAVE_FILESYSTEM_FEATURES
-
-
namespace vmime {
namespace platforms {
namespace posix {
@@ -621,4 +624,4 @@ void posixFileSystemFactory::reportError(const vmime::utility::path& path, const
} // vmime
-#endif // VMIME_HAVE_FILESYSTEM_FEATURES
+#endif // VMIME_PLATFORM_IS_POSIX && VMIME_HAVE_FILESYSTEM_FEATURES