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/fileAttachment.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/fileAttachment.cpp')
-rw-r--r-- | src/fileAttachment.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/fileAttachment.cpp b/src/fileAttachment.cpp index cb23cd04..6f9a72bf 100644 --- a/src/fileAttachment.cpp +++ b/src/fileAttachment.cpp @@ -21,6 +21,12 @@ // the GNU General Public License cover the whole combination. // +#include "vmime/config.hpp" + + +#if VMIME_HAVE_FILESYSTEM_FEATURES + + #include <fstream> #include <sstream> @@ -211,3 +217,7 @@ void fileAttachment::fileInfo::setSize(const unsigned int& size) { if (m_size) { } // vmime + + +#endif // VMIME_HAVE_FILESYSTEM_FEATURES + |