/*
- Copyright 1999-2009 ImageMagick Studio LLC, a non-profit organization
+ Copyright 1999-2010 ImageMagick Studio LLC, a non-profit organization
dedicated to making software imaging solutions freely available.
You may not use this file except in compliance with the License.
\
GetExceptionInfo(&exception); \
(void) ThrowMagickException(&exception,GetMagickModule(),severity, \
- tag == (const char *) NULL ? "unknown" : tag,"`%s'",strerror(errno)); \
+ tag == (const char *) NULL ? "unknown" : tag,"`%s'", \
+ GetExceptionMessage(errno)); \
CatchException(&exception); \
(void) DestroyExceptionInfo(&exception); \
_exit(1); \
{ \
(void) ThrowMagickException(exception,GetMagickModule(),severity, \
tag == (const char *) NULL ? "unknown" : tag,"`%s': %s",context, \
- strerror(errno)); \
+ GetExceptionMessage(errno)); \
}
#define ThrowImageException(severity,tag) \
{ \