diff --git a/Magick++/lib/Exception.cpp b/Magick++/lib/Exception.cpp
index 446a4e1..d2e872c 100644
--- a/Magick++/lib/Exception.cpp
+++ b/Magick++/lib/Exception.cpp
@@ -259,7 +259,7 @@
}
// Format and throw exception
-MagickDLLDecl void Magick::throwExceptionExplicit( const ExceptionType severity_,
+MagickPPExport void Magick::throwExceptionExplicit( const ExceptionType severity_,
const char* reason_,
const char* description_)
{
@@ -276,7 +276,7 @@
}
// Throw C++ exception
-MagickDLLDecl void Magick::throwException( ExceptionInfo &exception_ )
+MagickPPExport void Magick::throwException( ExceptionInfo &exception_ )
{
// Just return if there is no reported error
if ( exception_.severity == UndefinedException )