aboutsummaryrefslogtreecommitdiffstats
path: root/src/typeAdapter.cpp
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2005-03-25 21:37:36 +0000
committerVincent Richard <[email protected]>2005-03-25 21:37:36 +0000
commitd6f67b0a4a72032018ea87209402d401626933e0 (patch)
tree973e6a9bd83c7109e2cb4cddae588cbfaf78bf42 /src/typeAdapter.cpp
parentBasic support for MDN (RFC-3798). (diff)
downloadvmime-d6f67b0a4a72032018ea87209402d401626933e0.tar.gz
vmime-d6f67b0a4a72032018ea87209402d401626933e0.zip
Some fixes for Visual C++/Windows.
Diffstat (limited to 'src/typeAdapter.cpp')
-rw-r--r--src/typeAdapter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/typeAdapter.cpp b/src/typeAdapter.cpp
index 327d5c37..b65e6bd4 100644
--- a/src/typeAdapter.cpp
+++ b/src/typeAdapter.cpp
@@ -25,7 +25,7 @@ namespace vmime
{
-#if !defined(__GNUC__) || ((__GNUC__ >= 3) && (__GNUC_MINOR__ >= 3))
+#if (!defined(__GNUC__) || ((__GNUC__ >= 3) && (__GNUC_MINOR__ >= 3))) && !defined(_MSC_VER)
template <>
void typeAdapter <string>::parse(const string& buffer, const string::size_type position,
@@ -39,7 +39,7 @@ void typeAdapter <string>::parse(const string& buffer, const string::size_type p
*newPosition = end;
}
-#endif // !defined(__GNUC__) || ((__GNUC__ >= 3) && (__GNUC_MINOR__ >= 3))
+#endif // (!defined(__GNUC__) || ((__GNUC__ >= 3) && (__GNUC_MINOR__ >= 3))) && !defined(_MSC_VER)
} // vmime