diff options
| author | Vincent Richard <[email protected]> | 2015-01-01 11:54:21 +0000 |
|---|---|---|
| committer | Vincent Richard <[email protected]> | 2015-01-01 11:54:21 +0000 |
| commit | d13e1133f0066bb01cb6f6e900579a8a059d0cdf (patch) | |
| tree | f9b8e8acf2c119482f654064da8f91c81bd12a93 /src | |
| parent | Fixed buffer pointer offset when copying data. (diff) | |
| download | vmime-d13e1133f0066bb01cb6f6e900579a8a059d0cdf.tar.gz vmime-d13e1133f0066bb01cb6f6e900579a8a059d0cdf.zip | |
Fixed build issues when disabling filesystem features.
Diffstat (limited to 'src')
| -rw-r--r-- | src/vmime/fileContentHandler.cpp | 9 | ||||
| -rw-r--r-- | src/vmime/fileContentHandler.hpp | 9 |
2 files changed, 18 insertions, 0 deletions
diff --git a/src/vmime/fileContentHandler.cpp b/src/vmime/fileContentHandler.cpp index 53ec9f69..df788d7d 100644 --- a/src/vmime/fileContentHandler.cpp +++ b/src/vmime/fileContentHandler.cpp @@ -21,6 +21,12 @@ // the GNU General Public License cover the whole combination. // +#include "vmime/config.hpp" + + +#if VMIME_HAVE_FILESYSTEM_FEATURES + + #include "vmime/fileContentHandler.hpp" @@ -79,3 +85,6 @@ void fileContentHandler::setData } // vmime + + +#endif // VMIME_HAVE_FILESYSTEM_FEATURES diff --git a/src/vmime/fileContentHandler.hpp b/src/vmime/fileContentHandler.hpp index 68b4d396..5b01fb8b 100644 --- a/src/vmime/fileContentHandler.hpp +++ b/src/vmime/fileContentHandler.hpp @@ -25,6 +25,12 @@ #define VMIME_FILECONTENTHANDLER_HPP_INCLUDED +#include "vmime/config.hpp" + + +#if VMIME_HAVE_FILESYSTEM_FEATURES + + #include "vmime/streamContentHandler.hpp" #include "vmime/utility/file.hpp" @@ -90,4 +96,7 @@ private: } // vmime +#endif // VMIME_HAVE_FILESYSTEM_FEATURES + + #endif // VMIME_FILECONTENTHANDLER_HPP_INCLUDED |
