aboutsummaryrefslogtreecommitdiffstats
path: root/src/typeAdapter.cpp
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2005-01-03 21:01:45 +0000
committerVincent Richard <[email protected]>2005-01-03 21:01:45 +0000
commitf80d92ee3a5e4c95dec8f39ada865397c7cca24f (patch)
tree5d01e9fd1a3511e404fb26f31b577931e7079034 /src/typeAdapter.cpp
parentoutputStreamStringAdapter::write() improvement. (diff)
downloadvmime-f80d92ee3a5e4c95dec8f39ada865397c7cca24f.tar.gz
vmime-f80d92ee3a5e4c95dec8f39ada865397c7cca24f.zip
Fixed a linking error with g++ <= 3.2.
Diffstat (limited to 'src/typeAdapter.cpp')
-rw-r--r--src/typeAdapter.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/typeAdapter.cpp b/src/typeAdapter.cpp
index 2170ed53..13651900 100644
--- a/src/typeAdapter.cpp
+++ b/src/typeAdapter.cpp
@@ -25,6 +25,8 @@ namespace vmime
{
+#if !defined(__GNUC__) || ((__GNUC__ >= 3) && (__GNUC_MINOR__ >= 3))
+
template <>
void typeAdapter <string>::parse(const string& buffer, const string::size_type position,
const string::size_type end, string::size_type* newPosition)
@@ -35,5 +37,7 @@ void typeAdapter <string>::parse(const string& buffer, const string::size_type p
*newPosition = end;
}
+#endif // !defined(__GNUC__) || ((__GNUC__ >= 3) && (__GNUC_MINOR__ >= 3))
+
} // vmime