diff options
| author | Vincent Richard <[email protected]> | 2012-11-01 17:20:06 +0000 |
|---|---|---|
| committer | Vincent Richard <[email protected]> | 2012-11-01 17:20:06 +0000 |
| commit | cce1c28bcecec87f34983599441ce16f7c2cf829 (patch) | |
| tree | 0d94e042fce797cfe0a0cfbb11484de3fc969add /src/platforms/posix/posixFile.cpp | |
| parent | Fixed typo in doc. (diff) | |
| download | vmime-cce1c28bcecec87f34983599441ce16f7c2cf829.tar.gz vmime-cce1c28bcecec87f34983599441ce16f7c2cf829.zip | |
Migrated build system to CMake. Conditional file compilation. Automatic selection of platform handler.
Diffstat (limited to 'src/platforms/posix/posixFile.cpp')
| -rw-r--r-- | src/platforms/posix/posixFile.cpp | 11 |
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 |
