]> granicus.if.org Git - imagemagick/commitdiff
Remove support for Macintosh and VMS
authorCristy <urban-warrior@imagemagick.org>
Sun, 6 Sep 2015 09:36:11 +0000 (05:36 -0400)
committerCristy <urban-warrior@imagemagick.org>
Sun, 6 Sep 2015 09:36:11 +0000 (05:36 -0400)
MagickCore/Makefile.am
MagickCore/config.h_vms [deleted file]
MagickCore/mac.c [deleted file]
MagickCore/mac.h [deleted file]
MagickCore/studio.h
MagickCore/vms.c [deleted file]
MagickCore/vms.h [deleted file]
MagickWand/studio.h
Makefile.in
config/configure.xml

index 579e3855ddba90418f2c661bd5d8d384c24065e7..2fd867e279006b38791add964f71ca53d94f0bc0 100644 (file)
@@ -168,7 +168,6 @@ MAGICKCORE_BASE_SRCS = \
        MagickCore/locale_.h \
        MagickCore/log.c \
        MagickCore/log.h \
-       MagickCore/mac.h \
        MagickCore/magic.c \
        MagickCore/magic.h \
        MagickCore/magick.c \
@@ -286,7 +285,6 @@ MAGICKCORE_BASE_SRCS = \
        MagickCore/version-private.h \
        MagickCore/vision.c \
        MagickCore/vision.h \
-       MagickCore/vms.h \
        MagickCore/widget.c \
        MagickCore/widget.h \
        MagickCore/widget-private.h \
@@ -437,7 +435,6 @@ MAGICKCORE_NOINST_HDRS = \
        MagickCore/image-private.h \
        MagickCore/locale-private.h \
        MagickCore/log-private.h \
-       MagickCore/mac.h \
        MagickCore/magick-private.h \
        MagickCore/magic-private.h \
        MagickCore/matrix-private.h \
@@ -475,7 +472,6 @@ MAGICKCORE_NOINST_HDRS = \
        MagickCore/type-private.h \
        MagickCore/utility-private.h \
        MagickCore/version-private.h \
-       MagickCore/vms.h \
        MagickCore/widget-private.h \
        MagickCore/xml-tree-private.h \
        MagickCore/xwindow-private.h
@@ -489,9 +485,5 @@ MAGICKCORE_EXTRA_DIST = \
        MagickCore/ImageMagick.pc.in \
        MagickCore/MagickCore.pc.in \
        MagickCore/libMagickCore.map \
-       MagickCore/config.h_vms \
-       MagickCore/mac.c \
        MagickCore/nt-base.c \
-       MagickCore/nt-feature.c \
-       MagickCore/vms.c \
-       MagickCore/xwdfile.h_vms 
+       MagickCore/nt-feature.c
diff --git a/MagickCore/config.h_vms b/MagickCore/config.h_vms
deleted file mode 100644 (file)
index d6a6ddd..0000000
+++ /dev/null
@@ -1,286 +0,0 @@
-/* magick/config.h.in.  Generated automatically from configure.in by autoheader.  */
-
-/* Define if you don't have vprintf but do have _doprnt.  */
-#undef MAGICKCORE_HAVE_DOPRNT
-
-/* Define if you have a working `mmap' system call.  */
-#define MAGICKCORE_HAVE_MMAP 1
-
-/* Define if you have the vprintf function.  */
-#define MAGICKCORE_HAVE_VPRINTF 1
-
-/* Define as __inline if that's what the C compiler calls it.  */
-#define MAGICKCORE_inline __inline
-
-/* Define as the return type of signal handlers (int or void).  */
-#define MAGICKCORE_RETSIGTYPE void
-
-/* Define if the `S_IS*' macros in <sys/stat.h> do not work properly.  */
-#undef MAGICKCORE_STAT_MACROS_BROKEN
-
-/* Define if you have the ANSI C header files.  */
-#define MAGICKCORE_STDC_HEADERS 1
-
-/* Define if you can safely include both <sys/time.h> and <time.h>.  */
-#define MAGICKCORE_TIME_WITH_SYS_TIME 1
-
-/* Define if your processor stores words with the most significant
-   byte first (like Motorola and SPARC, unlike Intel and VAX).  */
-#undef MAGICKCORE_WORDS_BIGENDIAN
-
-/* Define if the X Window System is missing or not being used.  */
-#undef MAGICKCORE_X_DISPLAY_MISSING
-
-/* The number of bytes in a int.  */
-#define MAGICKCORE_SIZEOF_INT 4
-
-/* The number of bytes in a long long.  */
-#define MAGICKCORE_SIZEOF_UNSIGNED_LONG_LONG 8
-
-/* Define if you have the getcwd function.  */
-#define MAGICKCORE_HAVE_GETCWD 1
-
-/* Define if you have the getexecname function.  */
-#undef MAGICKCORE_HAVE_GETEXECNAME
-
-/* Define if you have the getpagesize function.  */
-#define MAGICKCORE_HAVE_GETPAGESIZE 1
-
-/* Define if you have the gettimeofday function.  */
-#define MAGICKCORE_HAVE_GETTIMEOFDAY 1
-
-/* Define if you have the mkdir function.  */
-#define MAGICKCORE_HAVE_MKDIR 1
-
-/* Define if you have the poll function.  */
-#undef MAGICKCORE_HAVE_POLL
-
-/* Define if you have the select function.  */
-#undef MAGICKCORE_HAVE_SELECT
-
-/* Define if you have the snprintf function.  */
-#undef MAGICKCORE_HAVE_SNPRINTF
-
-/* Define if you have the strchr function.  */
-#define MAGICKCORE_HAVE_STRCHR 1
-
-/* Define if you have the strerror function.  */
-#define MAGICKCORE_HAVE_STRERROR 1
-
-/* Define if you have the strtol function.  */
-#define MAGICKCORE_HAVE_STRTOL 1
-
-/* Define if you have the sysconf function.  */
-#define MAGICKCORE_HAVE_SYSCONF 1
-
-/* Define if you have the tempnam function.  */
-#define MAGICKCORE_HAVE_TEMPNAM 1
-
-/* Define if you have the vsnprintf function.  */
-#undef MAGICKCORE_HAVE_VSNPRINTF
-
-/* Define if you have the <dirent.h> header file.  */
-#define MAGICKCORE_HAVE_DIRENT_H 1
-
-/* Define if you have the <errno.h> header file.  */
-#define MAGICKCORE_HAVE_ERRNO_H 1
-
-/* Define if you have the <fcntl.h> header file.  */
-#define MAGICKCORE_HAVE_FCNTL_H 1
-
-/* Define if you have the <ft2build.h> header file.  */
-#define MAGICKCORE_HAVE_FT2BUILD_H 1
-
-/* Define if you have the <freetype/freetype.h> header file.  */
-#define MAGICKCORE_HAVE_FREETYPE_FREETYPE_H 1
-
-/* Define if you have the <hdf.h> header file.  */
-#define MAGICKCORE_HAVE_HDF_H 1
-
-/* Define if you have the <hdf/hdf.h> header file.  */
-#undef MAGICKCORE_HAVE_HDF_HDF_H
-
-/* Define if you have the <libxml/xml-error.h> header file.  */
-#undef MAGICKCORE_HAVE_LIBXML_XML_ERROR_H
-
-/* Define if you have the <libxml/xmlerror.h> header file.  */
-#undef MAGICKCORE_HAVE_LIBXML_XMLERROR_H
-
-/* Define if you have the <jp2conf.h> header file.  */
-#undef MAGICKCORE_HAVE_JP2CONF_H
-
-/* Define if you have the <malloc.h> header file.  */
-#undef MAGICKCORE_HAVE_MALLOC_H
-
-/* Define if you have the <math.h> header file.  */
-#define MAGICKCORE_HAVE_MATH_H 1
-
-/* Define if you have the <memory.h> header file.  */
-#define MAGICKCORE_HAVE_MEMORY_H 1
-
-/* Define if you have the <ndir.h> header file.  */
-#undef MAGICKCORE_HAVE_NDIR_H
-
-/* Define if you have the <pwd.h> header file.  */
-#define MAGICKCORE_HAVE_PWD_H 1
-
-/* Define if you have the <stdarg.h> header file.  */
-#define MAGICKCORE_HAVE_STDARG_H 1
-
-/* Define if you have the <stdint.h> header file.  */
-#undef MAGICKCORE_HAVE_STDINT_H
-
-/* Define if you have the <string.h> header file.  */
-#define MAGICKCORE_HAVE_STRING_H 1
-
-/* Define if you have the <sys/dir.h> header file.  */
-#undef MAGICKCORE_HAVE_SYS_DIR_H
-
-/* Define if you have the <sys/ndir.h> header file.  */
-#undef MAGICKCORE_HAVE_SYS_NDIR_H
-
-/* Define if you have the <sys/select.h> header file.  */
-#define MAGICKCORE_HAVE_SYS_SELECT_H 1
-
-/* Define if you have the <sys/stat.h> header file.  */
-#define MAGICKCORE_HAVE_SYS_STAT_H 1
-
-/* Define if you have the <sys/time.h> header file.  */
-#define MAGICKCORE_HAVE_SYS_TIME_H 1
-
-/* Define if you have the <sys/types.h> header file.  */
-#define MAGICKCORE_HAVE_SYS_TYPES_H 1
-
-/* Define if you have the <tiffconf.h> header file.  */
-#define MAGICKCORE_HAVE_TIFFCONF_H 1
-
-/* Define if you have the <unistd.h> header file.  */
-#define MAGICKCORE_HAVE_UNISTD_H 1
-
-/* Define if you have the <varargs.h> header file.  */
-#undef MAGICKCORE_HAVE_VARARGS_H
-
-/* Define if using libltdl to create dynamically loadable modules */
-#undef MAGICKCORE_LTDL_DELEGATE
-
-/* Location of coder modules */
-#undef MAGICKCORE_MagickModulesPath
-
-/* Number of bits in a pixel Quantum (8 or 16) */
-#define MAGICKCORE_QUANTUM_DEPTH 16
-
-/* Pixel cache threshold (default 2047MB) */
-#undef MAGICKCORE_PixelCacheThreshold
-
-/* Define to specify default TrueType font path. */
-#undef MAGICKCORE_TT_FONT_PATH
-
-/* Location of X11 configure files */
-#undef MAGICKCORE_X11ConfigurePath
-
-/* Define if you have Posix thread methods. */
-#undef MAGICKCORE_HasPTHREADS
-
-/* Define if you have zlib compression library */
-#define MAGICKCORE_ZLIB_DELEGATE 1
-
-/* Define if you have the bzip2 library */
-#define MAGICKCORE_BZLIB_DELEGATE 1
-
-/* Define if you have X11 library */
-#define MAGICKCORE_X11_DELEGATE 1
-
-/* X11 server supports shared memory extension */
-#undef MAGICKCORE_HAVE_SHARED_MEMORY
-
-/* X11 server supports shape extension */
-#undef MAGICKCORE_HAVE_SHAPE
-
-/* Define if you have Display Postscript */
-#undef MAGICKCORE_DPS_DELEGATE
-
-/* Define if you have FlashPIX library */
-#undef MAGICKCORE_FPX_DELEGATE
-
-/* Define if you have LCMS library */
-#undef MAGICKCORE_LCMS_DELEGATE
-
-/* Define if you have PNG library */
-#define MAGICKCORE_PNG_DELEGATE 1
-
-/* Define if you have JPEG library */
-#define MAGICKCORE_JPEG_DELEGATE 1
-
-/* Define if you have JPEG version 2 Jasper library */
-#define MAGICKCORE_LIBOPENJP2_DELEGATE 1
-
-/* Define if you have Ghostscript library */
-#undef MAGICKCORE_GS_DELEGATE
-
-/* Define if you have FreeType (TrueType font) library */
-#define MAGICKCORE_FREETYPE_DELEGATE 1
-
-/* Define if you have TIFF library */
-#define MAGICKCORE_TIFF_DELEGATE 1
-
-/* Define if you have HDF4 library */
-#define MAGICKCORE_HDF_DELEGATE 1
-
-/* Define if you have JBIG library */
-#define MAGICKCORE_JBIG_DELEGATE 1
-
-/* Define if you have XML library */
-#undef MAGICKCORE_XML_DELEGATE
-
-/* Define if you have WMF library */
-#undef MAGICKCORE_WMF_DELEGATE
-
-/* Define if you have sys_errlist in libc */
-#undef MAGICKCORE_HAVE_SYS_ERRLIST
-
-/* Define directory where ImageMagick/delegates.xml lives. */
-#undef MAGICKCORE_MagickConfigurePath
-
-/* define MAGICKCORE_if bool is a built-in type */
-#define MAGICKCORE_HAVE_BOOL 1
-
-/* define MAGICKCORE_if the compiler supports const_cast<> */
-#undef MAGICKCORE_HAVE_CONST_CAST
-
-/* define MAGICKCORE_if the compiler supports default template parameters */
-#undef MAGICKCORE_HAVE_DEFAULT_TEMPLATE_PARAMETERS
-
-/* define MAGICKCORE_if the compiler supports exceptions */
-#undef MAGICKCORE_HAVE_EXCEPTIONS
-
-/* define MAGICKCORE_if the compiler implements namespaces */
-#undef MAGICKCORE_HAVE_NAMESPACES
-
-/* define MAGICKCORE_if the compiler supports the explicit keyword */
-#undef MAGICKCORE_HAVE_EXPLICIT
-
-/* define MAGICKCORE_if the compiler supports ISO C++ standard library */
-#define MAGICKCORE_HAVE_STD 1
-
-/* define MAGICKCORE_if the compiler supports Standard Template Library */
-#define MAGICKCORE_HAVE_STL 1
-
-/* define MAGICKCORE_if the compiler supports the mutable keyword */
-#undef MAGICKCORE_HAVE_MUTABLE
-
-/* define MAGICKCORE_if the compiler accepts the new for scoping rules */
-#undef MAGICKCORE_HAVE_NEW_FOR_SCOPING
-
-/* define MAGICKCORE_if the compiler supports static_cast<> */
-#undef MAGICKCORE_HAVE_STATIC_CAST
-
-/* define MAGICKCORE_if the compiler supports basic templates */
-#undef MAGICKCORE_HAVE_TEMPLATES
-
-#define MAGICKCORE_LIBRARY_RELATIVE_PATH "/"
-
-#define MAGICKCORE_HAVE_MKSTEMP 1
-
-#define round nint
-
-#define MAGICKCORE_CIPHER_SUPPORT 1
diff --git a/MagickCore/mac.c b/MagickCore/mac.c
deleted file mode 100644 (file)
index f76c3f7..0000000
+++ /dev/null
@@ -1,1601 +0,0 @@
-/*
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%                                                                             %
-%                                                                             %
-%                                                                             %
-%                            M   M   AAA    CCCC                              %
-%                            MM MM  A   A  C                                  %
-%                            M M M  AAAAA  C                                  %
-%                            M   M  A   A  C                                  %
-%                            M   M  A   A   CCCC                              %
-%                                                                             %
-%                                                                             %
-%                    Macintosh Utility Methods for MagickCore                 %
-%                                                                             %
-%                               Software Design                               %
-%                                    Cristy                                   %
-%                                September 1996                               %
-%                                                                             %
-%                                                                             %
-%  Copyright 1999-2015 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.  You may  %
-%  obtain a copy of the License at                                            %
-%                                                                             %
-%    http://www.imagemagick.org/script/license.php                            %
-%                                                                             %
-%  Unless required by applicable law or agreed to in writing, software        %
-%  distributed under the License is distributed on an "AS IS" BASIS,          %
-%  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.   %
-%  See the License for the specific language governing permissions and        %
-%  limitations under the License.                                             %
-%                                                                             %
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-%  The directory methods are strongly based on similar methods written
-%  by Steve Summit, scs@eskimo.com.  The Ghostscript launch code is strongly
-%  based on Dave Schooley's Mac Gnuplot and contributed by
-%  schindall@wave14i.nrl.navy.mil.  Mac-centric improvements contributed by
-%  leonardr@digapp.com.
-%
-%
-*/
-\f
-#if defined(macintosh)
-/*
-  Include declarations.
-*/
-#define _X_H
-#define _WIDGET_H
-#include <AppleEvents.h>
-#include <AERegistry.h>
-#include <AEObjects.h>
-#include <AEPackObject.h>
-#include <Processes.h>
-#include <QuickDraw.h>
-#include <QDOffscreen.h>
-#include <Palettes.h>
-#include <ImageCompression.h>
-#include <PictUtils.h>
-#include <Files.h>
-#include <Gestalt.h>
-#include <TextUtils.h>
-#define ColorInfo  KolorInfo
-#include "MagickCore/studio.h"
-#include "MagickCore/blob.h"
-#include "MagickCore/client.h"
-#include "MagickCore/exception.h"
-#include "MagickCore/exception-private.h"
-#include "MagickCore/image-private.h"
-#include "MagickCore/list.h"
-#include "MagickCore/magick.h"
-#include "MagickCore/monitor.h"
-#include "MagickCore/monitor-private.h"
-#include "MagickCore/quantum.h"
-#include "MagickCore/string_.h"
-#include "MagickCore/utility.h"
-#include "MagickCore/mac.h"
-\f
-/*
-  Global declaractions.
-*/
-ImageDescriptionHandle
-  image_description = nil;
-\f
-/*
-  Forward declaractions.
-*/
-static Boolean
-  SearchForFile(OSType,OSType,FSSpec *,short);
-
-static pascal void
-  ArcMethod(GrafVerb,Rect *,short,short),
-  BitsMethod(BitMap *,Rect *,Rect *,short,RgnHandle),
-  FilenameToFSSpec(const char *filename,FSSpec *fsspec),
-  LineMethod(Point),
-  OvalMethod(GrafVerb,Rect *),
-  PolyMethod(GrafVerb,PolyHandle),
-  RRectMethod(GrafVerb,Rect *,short,short),
-  RectMethod(GrafVerb,Rect *),
-  RegionMethod(GrafVerb,RgnHandle),
-  StandardPixmap(PixMapPtr,Rect *,MatrixRecordPtr,short,RgnHandle,PixMapPtr,
-    Rect *,short),
-  TextMethod(short,Ptr,Point,Point);
-\f
-/*
-  Static declarations
- */
-#if defined(DISABLE_SIOUX)
-static MACEventHookPtr
-  event_hook = nil;
-
-static MACErrorHookPtr
-  exception.hook = nil;
-#endif
-\f
-/*
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%                                                                             %
-%                                                                             %
-%                                                                             %
-%   B o t t l e n e c k T e s t                                               %
-%                                                                             %
-%                                                                             %
-%                                                                             %
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-%  BottleneckTest() intercepts any compressed images.
-%
-%  The format of the BottleneckTest method is:
-%
-%      int BottleneckTest(const char *magick)
-%
-%  A description of each parameter follows:
-%
-%    o picture: Specifies a pointer to a PicHandle structure.
-%
-%    o codec: the code type is returned in this CodecType pointer structure.
-%
-%    o depth: the image depth is returned as an integer pointer.
-%
-%    o colormap_id: the colormap ID is returned in this short pointer.
-%
-%
-*/
-
-static pascal void ArcMethod(GrafVerb verb,Rect *r,short startAngle,
-  short arcAngle)
-{
-#pragma unused (verb,r,startAngle,arcAngle)
-}
-
-static pascal void BitsMethod(BitMap *bitPtr,Rect *source_rectangle,
-  Rect *dstRect,short mode,RgnHandle maskRgn)
-{
-#pragma unused (bitPtr,source_rectangle,dstRect,mode,maskRgn)
-}
-
-static pascal void LineMethod(Point newPt)
-{
-#pragma unused (newPt)
-}
-
-static pascal void OvalMethod(GrafVerb verb,Rect *r)
-{
-#pragma unused (verb,r)
-}
-
-static pascal void PolyMethod(GrafVerb verb,PolyHandle poly)
-{
-#pragma unused (verb,poly)
-}
-
-static pascal void RectMethod(GrafVerb verb,Rect *r)
-{
-#pragma unused (verb,r)
-}
-
-static pascal void RegionMethod(GrafVerb verb,RgnHandle rgn)
-{
-#pragma unused (verb,rgn)
-}
-
-static pascal void RRectMethod(GrafVerb verb,Rect *r,short ovalWidth,
-  short ovalHeight)
-{
-#pragma unused (verb,r,ovalWidth,ovalHeight)
-}
-
-static pascal void StandardPixmap(PixMapPtr source,Rect *source_rectangle,
-  MatrixRecordPtr matrix,short mode,RgnHandle mask,PixMapPtr matte,
-  Rect *matte_rectangle,short flags)
-{
-#pragma unused (source_rectangle,matrix,mode,mask,matte,matte_rectangle,flags)
-
-  Ptr
-    data;
-
-  ssize_t
-    size;
-
-  GetCompressedPixMapInfo(source,&image_description,&data,&size,nil,nil);
-}
-
-static pascal void TextMethod(short byteCount,Ptr textBuf,Point numer,
-  Point denom)
-{
-#pragma unused (byteCount,textBuf,numer,denom)
-}
-
-#if !defined(DISABLE_QUICKTIME)
-static short BottleneckTest(PicHandle picture,CodecType *codec,int *depth,
-  short *colormap_id)
-{
-  CQDProcs
-    bottlenecks;
-
-  int
-    status;
-
-  Rect
-    rectangle;
-
-  ssize_t
-    version;
-
-  status=Gestalt(gestaltQuickTime,&version);
-  if (status != noErr)
-    {
-      ParamText("\pQuickTime not installed.  Please install, then try again.",
-        "\p","\p","\p");
-      Alert(128,nil);
-      return(-1);
-    }
-  /*
-    Define our own bottlenecks to do nothing.
-  */
-  SetStdCProcs(&bottlenecks);
-  bottlenecks.textProc=NewQDTextUPP(&TextMethod);
-  bottlenecks.lineProc=NewQDLineUPP(&LineMethod);
-  bottlenecks.rectProc=NewQDRectUPP(&RectMethod);
-  bottlenecks.rRectProc=NewQDRRectUPP(&RRectMethod);
-  bottlenecks.ovalProc=NewQDOvalUPP(&OvalMethod);
-  bottlenecks.arcProc=NewQDArcUPP(&ArcMethod);
-  bottlenecks.polyProc=NewQDPolyUPP(&PolyMethod);
-  bottlenecks.rgnProc=NewQDRgnUPP(&RegionMethod);
-  bottlenecks.bitsProc=NewQDBitsUPP(&BitsMethod);
-  bottlenecks.newProc1=(UniversalProcPtr) NewStdPixUPP(&StandardPixmap);
-  /*
-    Install our custom bottlenecks to intercept any compressed images.
-  */
-  (*(qd.thePort)).grafProcs=(QDProcs *) &bottlenecks;
-  DrawPicture(picture,&((**picture).picFrame));
-  PaintRect(&rectangle);
-  (*(qd.thePort)).grafProcs=0L;
-  /*
-    Initialize our return values.
-  */
-  *codec='unkn';
-  *depth=0;
-  *colormap_id=(-1);
-  if (image_description != nil)
-    {
-      *codec=(**image_description).cType;
-      *depth=(**image_description).depth;
-      *colormap_id=(**image_description).clutID;
-    }
-  DisposeQDTextUPP(bottlenecks.textProc);
-  DisposeQDLineUPP(bottlenecks.lineProc);
-  DisposeQDRectUPP(bottlenecks.rectProc);
-  DisposeQDRRectUPP(bottlenecks.rRectProc);
-  DisposeQDOvalUPP(bottlenecks.ovalProc);
-  DisposeQDArcUPP(bottlenecks.arcProc);
-  DisposeQDPolyUPP(bottlenecks.polyProc);
-  DisposeQDRgnUPP(bottlenecks.rgnProc);
-  DisposeQDBitsUPP(bottlenecks.bitsProc);
-  DisposeStdPixUPP(bottlenecks.newProc1);
-  return(0);
-}
-#endif
-\f
-#if !defined(_MAGICKCORE_POSIX_SUPPORT_VERSION)
-/*
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%                                                                             %
-%                                                                             %
-%                                                                             %
-%   c l o s e d i r                                                           %
-%                                                                             %
-%                                                                             %
-%                                                                             %
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-%  closedir() closes the named directory stream and frees the DIR structure.
-%
-%  The format of the closedir method is:
-%
-%      closedir(entry)
-%
-%  A description of each parameter follows:
-%
-%    o entry: Specifies a pointer to a DIR structure.
-%
-%
-*/
-MagickExport void closedir(DIR *entry)
-{
-  if (image->debug != MagickFalse)
-    (void) LogMagickEvent(TraceEvent,GetMagickModule(),"...");
-  assert(entry != (DIR *) NULL);
-  RelinquishMagickMemory(entry);
-}
-#endif
-\f
-/*
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%                                                                             %
-%                                                                             %
-%                                                                             %
-%   E x i t                                                                   %
-%                                                                             %
-%                                                                             %
-%                                                                             %
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-%  Exit() exits the process.
-%
-%  The format of the exit method is:
-%
-%      Exit(status)
-%
-%  A description of each parameter follows:
-%
-%    o status: an integer value representing the status of the terminating
-%      process.
-%
-%
-*/
-MagickExport int Exit(int status)
-{
-#if !defined(DISABLE_SIOUX)
-  (void) FormatLocaleFile(stdout,"Select File->Quit to exit.\n");
-#endif
-  exit(status);
-  return(0);
-}
-\f
-/*
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%                                                                             %
-%                                                                             %
-%                                                                             %
-%   F i l e n a m e T o F S S p e c                                           %
-%                                                                             %
-%                                                                             %
-%                                                                             %
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-%  FilenameToFSSpec() sets the file type of an image.
-%
-%  The format of the FilenameToFSSpec method is:
-%
-%      FilenameToFSSpec(filename,fsspec)
-%
-%  A description of each parameter follows:
-%
-%    o filename: Specifies the name of the file.
-%
-%    o fsspec: A pointer to type FSSpec.
-%
-%
-*/
-MagickExport void pascal FilenameToFSSpec(const char *filename,FSSpec *fsspec)
-{
-  Str255
-    name;
-
-  assert(filename != (char *) NULL);
-  c2pstrcpy(name,filename);
-  FSMakeFSSpec(0,0,name,fsspec);
-}
-\f
-/*
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%                                                                             %
-%                                                                             %
-%                                                                             %
-%   I s M a g i c k C o n f l i c t                                           %
-%                                                                             %
-%                                                                             %
-%                                                                             %
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-%  MACIsMagickConflict() returns true if the image format conflicts with a
-%  logical drive (.e.g. X:).
-%
-%  Contributed by Mark Gavin of Digital Applications, Inc.
-%
-%  The format of the MACIsMagickConflict method is:
-%
-%      status=MACIsMagickConflict(magick)
-%
-%  A description of each parameter follows:
-%
-%    o magick: Specifies the image format.
-%
-%
-*/
-
-static OSErr HGetVInfo(short volume_index,StringPtr volume_name,short *volume,
-  size_t *free_bytes,size_t *total_bytes)
-{
-  HParamBlockRec
-    pb;
-
-  OSErr
-    result;
-
-  size_t
-    blocksize;
-
-  unsigned short
-    allocation_blocks,
-    free_blocks;
-
-  /*
-    Use the File Manager to get the real vRefNum.
-  */
-  pb.volumeParam.ioVRefNum=0;
-  pb.volumeParam.ioNamePtr=volume_name;
-  pb.volumeParam.ioVolIndex=volume_index;
-  result=PBHGetVInfoSync(&pb);
-  if (result != noErr)
-    return(result);
-  *volume=pb.volumeParam.ioVRefNum;
-  blocksize=(size_t) pb.volumeParam.ioVAlBlkSiz;
-  allocation_blocks=(unsigned short) pb.volumeParam.ioVNmAlBlks;
-  free_blocks=(unsigned short) pb.volumeParam.ioVFrBlk;
-  *free_bytes=free_blocks*blocksize;
-  *total_bytes=allocation_blocks*blocksize;
-  return(result);
-}
-
-MagickExport MagickBooleanType MACIsMagickConflict(const char *magick)
-{
-  size_t
-    free_bytes,
-    number_bytes;
-
-  OSErr
-    status;
-
-  short
-    volume;
-
-  Str255
-    volume_name;
-
-  assert(magick != (char *) NULL);
-  if (image->debug != MagickFalse)
-    (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",magick);
-  (void) CopyMagickString((char *) volume_name,magick,MagickPathExtent);
-  c2pstr((char *) volume_name);
-  if (volume_name[volume_name[0]] != ':')
-    volume_name[++volume_name[0]]=':';
-  status=HGetVInfo(-1,volume_name,&volume,&free_bytes,&number_bytes);
-  return(status != 0 ? MagickFalse : MagickTrue);
-}
-\f
-/*
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%                                                                             %
-%                                                                             %
-%                                                                             %
-+   M A C E r r o r H a n d l e r                                             %
-%                                                                             %
-%                                                                             %
-%                                                                             %
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-%  MACErrorHandler() displays an error reason and then terminates the program.
-%
-%  The format of the MACErrorHandler method is:
-%
-%      void MACErrorHandler(const ExceptionType error,const char *reason,
-%        const char *description)
-%
-%  A description of each parameter follows:
-%
-%    o exception: Specifies the numeric error category.
-%
-%    o reason: Specifies the reason to display before terminating the
-%      program.
-%
-%    o description: Specifies any description to the reason.
-%
-%
-*/
-MagickExport void MACErrorHandler(const ExceptionType error,const char *reason,
-  const char *description)
-{
-  char
-    buffer[3*MagickPathExtent];
-
-  if (reason == (char *) NULL)
-    return;
-  if (description == (char *) NULL)
-    (void) FormatLocaleString(buffer,MagickPathExtent,"%s: %s.\n",GetClientName(),
-      reason);
-  else
-    (void) FormatLocaleString(buffer,MagickPathExtent,"%s: %s (%s).\n",
-      GetClientName(),reason,description);
-#if defined(DISABLE_SIOUX)
-  if(exception.hook != (MACErrorHookPtr) NULL)
-    exception.hook(error,buffer);
-  else
-    {
-      MagickCoreTerminus();
-      exit(error);
-    }
-#else
-  puts(buffer);
-  MagickCoreTerminus();
-  exit(error);
-#endif
-}
-\f
-#if defined(DISABLE_SIOUX)
-/*
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%                                                                             %
-%                                                                             %
-%                                                                             %
-+   M A C F a t a l E r r o r H a n d l e r                                   %
-%                                                                             %
-%                                                                             %
-%                                                                             %
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-%  MACFatalErrorHandler() displays an error reason and then terminates the
-%  program.
-%
-%  The format of the MACFatalErrorHandler method is:
-%
-%      void MACFatalErrorHandler(const ExceptionType severity,
-%        const char *reason,const char *description)
-%
-%  A description of each parameter follows:
-%
-%    o severity: Specifies the numeric error category.
-%
-%    o reason: Specifies the reason to display before terminating the
-%      program.
-%
-%    o description: Specifies any description to the reason.
-%
-*/
-static void MACFatalErrorHandler(const ExceptionType severity,
-  const char *reason,const char *description)
-{
-  char
-    buffer[3*MagickPathExtent];
-
-  if (reason == (char *) NULL)
-    return;
-  if (description == (char *) NULL)
-    (void) FormatLocaleString(buffer,MagickPathExtent,"%s: %s.\n",GetClientName(),
-      reason);
-  else
-    (void) FormatLocaleString(buffer,MagickPathExtent,"%s: %s (%s).\n",
-      GetClientName(),reason,description);
-  if(exception.hook != (MACErrorHookPtr) NULL)
-    exception.hook(severity, buffer);
-  else
-    {
-      MagickCoreTerminus();
-      exit(severity);
-    }
-}
-#endif
-\f
-/*
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%                                                                             %
-%                                                                             %
-%                                                                             %
-%   M a c G S E x e c u t e C o m m a n d                                     %
-%                                                                             %
-%                                                                             %
-%                                                                             %
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-%  MacGSExecuteCommand() executes the Ghostscript command.
-%
-%
-*/
-static OSErr MacGSExecuteCommand(const char *command,ssize_t length)
-{
-  AEAddressDesc
-    event_descriptor;
-
-  AEDesc
-    reply = {typeNull, NULL};
-
-  AppleEvent
-    event = {typeNull, NULL};
-
-  DescType
-    descriptor_type;
-
-  int
-    error;
-
-  OSType
-    id = 'gsVR';
-
-  Size
-    actualSize;
-
-  /*
-    Send the Apple Event.
-  */
-  (void) AECreateDesc(typeApplSignature,&id,sizeof(id),&event_descriptor);
-  (void) AECreateAppleEvent(id,'exec',&event_descriptor,-1,kAnyTransactionID,
-    &event);
-  (void) AEPutParamPtr(&event,keyDirectObject,typeChar,command,length);
-  (void) AESend(&event,&reply,kAEWaitReply+kAENeverInteract,kAENormalPriority,
-    kNoTimeOut,NULL,NULL);
-  /*
-    Handle the reply and exit.
-  */
-  (void) AEGetParamPtr(&reply,keyDirectObject,typeInteger,&descriptor_type,
-    &error,sizeof(error),&actualSize);
-  (void) AEDisposeDesc(&event_descriptor);
-  (void) AEDisposeDesc(&event);
-  if (reply.descriptorType != NULL)
-    AEDisposeDesc(&reply);
-  return((OSErr) error);
-}
-\f
-/*
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%                                                                             %
-%                                                                             %
-%                                                                             %
-%   M a c G S L a u n c h A p p l i c a t i o n C o r e                       %
-%                                                                             %
-%                                                                             %
-%                                                                             %
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-%  MacGSLaunchApplicationCore() launches the Ghostscript command.
-%
-%
-*/
-static OSErr MacGSLaunchApplicationCore(ssize_t flags)
-{
-  FSSpec
-    file_info;
-
-  LaunchParamBlockRec
-    launch_info;
-
-  OSErr
-    error;
-
-  if (!SearchForFile('gsVR','APPL',&file_info,1))
-    return(-43);
-  launch_info.launchBlockID=extendedBlock;
-  launch_info.launchEPBLength=extendedBlockLen;
-  launch_info.launchFileFlags=0;
-  launch_info.launchControlFlags=launchContinue+launchNoFileFlags+flags;
-  launch_info.launchAppSpec=(&file_info);
-  launch_info.launchAppParameters=nil;
-  error=LaunchApplication(&launch_info);
-  return(error);
-}
-\f
-/*
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%                                                                             %
-%                                                                             %
-%                                                                             %
-%   M a c G S L a u n c h A p p l i c a t i o n                               %
-%                                                                             %
-%                                                                             %
-%                                                                             %
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-%  MacGSLaunchApplication() launches the Ghostscript command.
-%
-%
-*/
-static OSErr MacGSLaunchApplication(void)
-{
-  return(MacGSLaunchApplicationCore(launchDontSwitch));
-}
-\f
-/*
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%                                                                             %
-%                                                                             %
-%                                                                             %
-%   M a c G S L a u n c h A p p l i c a t i o n T o F r o n t                 %
-%                                                                             %
-%                                                                             %
-%                                                                             %
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-%  MacGSLaunchApplicationToFront() moves the Ghostscript window to the front.
-%
-%
-*/
-static OSErr MacGSLaunchApplicationToFront(void)
-{
-  return(MacGSLaunchApplicationCore(0));
-}
-\f
-/*
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%                                                                             %
-%                                                                             %
-%                                                                             %
-%   M a c G S Q u i t A p p l i c a t i o n                                   %
-%                                                                             %
-%                                                                             %
-%                                                                             %
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-%  MacGSQuitApplication() quits the Ghostscript application.
-%
-%
-*/
-static void MacGSQuitApplication(void)
-{
-  AEAddressDesc
-    event_descriptor;
-
-  AEDesc
-    reply = {typeNull, NULL};
-
-  AppleEvent
-    event = {typeNull, NULL};
-
-  OSType
-    id = 'GPLT';
-
-  /*
-    Send the Apple Event.
-  */
-  (void) AECreateDesc(typeApplSignature,&id,sizeof(id),&event_descriptor);
-  (void) AECreateAppleEvent(typeAppleEvent,kAEQuitApplication,
-    &event_descriptor,-1,kAnyTransactionID,&event);
-  (void) AESend(&event,&reply,kAENoReply,kAENormalPriority,kNoTimeOut,NULL,
-    NULL);
-  /*
-    Clean up and exit.
-  */
-  (void) AEDisposeDesc(&event_descriptor);
-  (void) AEDisposeDesc(&event);
-  if (reply.descriptorType != NULL)
-    AEDisposeDesc(&reply);
-}
-\f
-/*
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%                                                                             %
-%                                                                             %
-%                                                                             %
-%   M a c G S S e t W o r k i n g F o l d e r                                 %
-%                                                                             %
-%                                                                             %
-%                                                                             %
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-%  MacGSSetWorkingFolder() set the Ghostscript working folder.
-%
-%
-*/
-static OSErr MacGSSetWorkingFolder(char *directory)
-{
-  AEDesc
-    application_descriptor,
-    event_descriptor,
-    object,
-    path_descriptor,
-    type_descriptor,
-    reply;
-
-  AppleEvent
-    event;
-
-  DescType
-    folder_type = 'wfdr';
-
-  OSErr
-    error;
-
-  OSType
-    id = 'GPLT';
-
-  /*
-    Send the Apple Event.
-  */
-  AECreateDesc(typeNull,NULL,0,&application_descriptor);
-  AECreateDesc(typeChar,directory,strlen(directory),&path_descriptor);
-  (void) AECreateDesc(typeType,&folder_type,sizeof(DescType),&type_descriptor);
-  CreateObjSpecifier(cProperty,&application_descriptor,formPropertyID,
-    &type_descriptor,0,&object);
-  (void) AECreateDesc(typeApplSignature,&id,sizeof(id),&event_descriptor);
-  (void) AECreateAppleEvent(kAECoreSuite,kAESetData,&event_descriptor,-1,
-    kAnyTransactionID,&event);
-  (void) AEPutParamDesc(&event,keyDirectObject,&object);
-  (void) AEPutParamDesc(&event,keyAEData,&path_descriptor);
-  error=AESend(&event,&reply,kAENoReply+kAENeverInteract,kAENormalPriority,
-    kNoTimeOut,NULL,NULL);
-  (void) AEDisposeDesc(&event);
-  (void) AEDisposeDesc(&event_descriptor);
-  (void) AEDisposeDesc(&object);
-  (void) AEDisposeDesc(&type_descriptor);
-  (void) AEDisposeDesc(&path_descriptor);
-  (void) AEDisposeDesc(&application_descriptor);
-  return(error);
-}
-\f
-/*
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%                                                                             %
-%                                                                             %
-%                                                                             %
-%   M A C S e t E r r o r H o o k                                             %
-%                                                                             %
-%                                                                             %
-%                                                                             %
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-%   MACSetErrorHook sets a callback function which is called if any error
-%   occurs within ImageMagick.
-%
-%  The format of the MACSetErrorHook method is:
-%
-%      int MACSetErrorHook(MACErrorHookPtr hook)
-%
-%  A description of each parameter follows:
-%
-%    o hook: This function pointer is the callback function.
-%
-%
-*/
-MagickExport void MACSetErrorHook(MACErrorHookPtr hook)
-{
-  /*
-    We forget any previously set exception.hook.
-  */
-  exception.hook=hook;
-}
-\f
-/*
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%                                                                             %
-%                                                                             %
-%                                                                             %
-%   M A C S e t E v e n t H o o k                                             %
-%                                                                             %
-%                                                                             %
-%                                                                             %
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-%   MACSetEventHook sets a callback function which is called every time
-%   ImageMagick likes to release the processor.
-%
-%  The format of the MACSetEventHook method is:
-%
-%      int MACSetEventHook(MACEventHookPtr hook)
-%
-%  A description of each parameter follows:
-%
-%    o hook: This function pointer is the callback function.
-%
-%
-*/
-MagickExport void MACSetEventHook(MACEventHookPtr hook)
-{
-  /*
-    We forget any previously set event hook.
-   */
-  event_hook=hook;
-}
-\f
-/*
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%                                                                             %
-%                                                                             %
-%                                                                             %
-%   M A C S y s t e m C o m m a n d                                           %
-%                                                                             %
-%                                                                             %
-%                                                                             %
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-%   Method MACSystemCommand executes the specified command and waits until it
-%   terminates.  The returned value is the exit status of the command.
-%
-%  The format of the MACSystemCommand method is:
-%
-%      int MACSystemCommand(MagickFalse,const char * command)
-%
-%  A description of each parameter follows:
-%
-%    o command: This string is the command to execute.
-%
-*/
-MagickExport int MACSystemCommand(const char * command)
-{
-  /*
-    We only know how to launch Ghostscript.
-  */
-  if (MacGSLaunchApplicationToFront())
-    return(-1);
-  return(MacGSExecuteCommand(command,strlen(command)));
-}
-\f
-/*
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%                                                                             %
-%                                                                             %
-%                                                                             %
-%   M A C W a r n i n g H a n d l e r                                         %
-%                                                                             %
-%                                                                             %
-%                                                                             %
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-%  MACWarningHandler() displays a warning reason.
-%
-%  The format of the MACWarningHandler method is:
-%
-+      void MACWarningHandler(const ExceptionType warning,const char *reason,
-%        const char *description)
-%
-%  A description of each parameter follows:
-%
-%    o warning: Specifies the numeric warning category.
-%
-%    o reason: Specifies the reason to display before terminating the
-%      program.
-%
-%    o description: Specifies any description to the reason.
-%
-%
-*/
-MagickExport void MACWarningHandler(const ExceptionType warning,
-  const char *reason,const char *description)
-{
-  char
-    buffer[1664];
-
-  if (reason == (char *) NULL)
-    return;
-  if (description == (char *) NULL)
-    (void) FormatLocaleString(buffer,MagickPathExtent,"%s: %s.\n",GetClientName(),
-      reason);
-  else
-    (void) FormatLocaleString(buffer,MagickPathExtent,"%s: %s (%s).\n",
-      GetClientName(),reason,description);
-#if defined(DISABLE_SIOUX)
-  if(exception.hook != (MACErrorHookPtr) NULL)
-    exception.hook(warning, buffer);
-#else
-  (void)warning;
-  puts(buffer);
-#endif
-}
-\f
-#if !defined(_MAGICKCORE_POSIX_SUPPORT_VERSION)
-/*
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%                                                                             %
-%                                                                             %
-%                                                                             %
-%   o p e n d i r                                                             %
-%                                                                             %
-%                                                                             %
-%                                                                             %
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-%  opendir() opens the directory named by filename and associates a directory
-%  stream with it.
-%
-%  The format of the opendir method is:
-%
-%      MagickExport DIR *opendir(char *path)
-%
-%  A description of each parameter follows:
-%
-%    o entry: Specifies a pointer to a DIR structure.
-%
-%
-*/
-MagickExport DIR *opendir(const char *path)
-{
-  Str255 pathname;
-
-  CInfoPBRec
-    search_info;
-
-  DIR
-    *entry;
-
-  int
-    error;
-
-  search_info.hFileInfo.ioNamePtr=0;
-  if ((path != (char *) NULL) || (*path != '\0'))
-    if ((path[0] != '.') || (path[1] != '\0'))
-      {
-        c2pstrcpy(pathname,path);
-        search_info.hFileInfo.ioNamePtr=pathname;
-      }
-  search_info.hFileInfo.ioCompletion=0;
-  search_info.hFileInfo.ioVRefNum=0;
-  search_info.hFileInfo.ioFDirIndex=0;
-  search_info.hFileInfo.ioDirID=0;
-  error=PBGetCatInfoSync(&search_info);
-  if (error != noErr)
-    {
-      errno=error;
-      return((DIR *) NULL);
-    }
-  entry=(DIR *) AcquireMagickMemory(sizeof(DIR));
-  if (entry == (DIR *) NULL)
-    return((DIR *) NULL);
-  entry->d_VRefNum=search_info.hFileInfo.ioVRefNum;
-  entry->d_DirID=search_info.hFileInfo.ioDirID;
-  entry->d_index=1;
-  return(entry);
-}
-#endif
-\f
-/*
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%                                                                             %
-%                                                                             %
-%                                                                             %
-%   P r o c e s s P e n d i n g E v e n t s                                   %
-%                                                                             %
-%                                                                             %
-%                                                                             %
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-%  ProcessPendingEvents() processes any pending events.  This prevents
-%  ImageMagick from monopolizing the processor.
-%
-%  The format of the ProcessPendingEvents method is:
-%
-%      ProcessPendingEvents(text)
-%
-%  A description of each parameter follows:
-%
-%    o text: A character string representing the current process.
-%
-%
-*/
-MagickExport void ProcessPendingEvents(const char *text)
-{
-#if defined(DISABLE_SIOUX)
-  if (event_hook != (MACEventHookPtr) NULL)
-    event_hook(text);
-#else
-  static const char
-    *mark = (char *) NULL;
-
-  EventRecord
-    event;
-
-  while (WaitNextEvent(everyEvent,&event,0L,nil))
-    SIOUXHandleOneEvent(&event);
-  if (isatty(STDIN_FILENO) && (text != mark))
-    {
-      (void) puts(text);
-      mark=text;
-    }
-#endif
-}
-\f
-#if !defined(_MAGICKCORE_POSIX_SUPPORT_VERSION)
-/*
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%                                                                             %
-%                                                                             %
-%                                                                             %
-%   r e a d d i r                                                             %
-%                                                                             %
-%                                                                             %
-%                                                                             %
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-%  readdir() returns a pointer to a structure representing the directory entry
-%  at the current position in the directory stream to which entry refers.
-%
-%  The format of the readdir
-%
-%      struct dirent *readdir(DIR *entry)
-%
-%  A description of each parameter follows:
-%
-%    o entry: Specifies a pointer to a DIR structure.
-%
-%
-*/
-MagickExport struct dirent *readdir(DIR *entry)
-{
-  CInfoPBRec
-    search_info;
-
-  int
-    error;
-
-  static struct dirent
-    dir_entry;
-
-  static unsigned char
-    pathname[MagickPathExtent];
-
-  if (entry == (DIR *) NULL)
-    return((struct dirent *) NULL);
-  search_info.hFileInfo.ioCompletion=0;
-  search_info.hFileInfo.ioNamePtr=pathname;
-  search_info.hFileInfo.ioVRefNum=0;
-  search_info.hFileInfo.ioFDirIndex=entry->d_index;
-  search_info.hFileInfo.ioDirID=entry->d_DirID;
-  error=PBGetCatInfoSync(&search_info);
-  if (error != noErr)
-    {
-      errno=error;
-      return((struct dirent *) NULL);
-    }
-  entry->d_index++;
-  p2cstrcpy(dir_entry.d_name,search_info.hFileInfo.ioNamePtr);
-  dir_entry.d_namlen=strlen(dir_entry.d_name);
-  return(&dir_entry);
-}
-#endif
-\f
-/*
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%                                                                             %
-%                                                                             %
-%                                                                             %
-%  R e a d P I C T I m a g e                                                  %
-%                                                                             %
-%                                                                             %
-%                                                                             %
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-%  ReadPICTImage() reads an Apple Macintosh QuickDraw/PICT image file using
-%  MacOS QuickDraw methods and returns it.  It allocates the memory necessary
-%  for the new Image structure and returns a pointer to the new image.
-%
-%  This method was written and contributed by spd@daphne.cps.unizar.es
-%  (feel free to copy and use it as you want. No warranty).
-%
-%  The format of the ReadPICTImage method is:
-%
-%      Image *ReadPICTImage(const ImageInfo *image_info,
-%        ExceptionInfo *exception)
-%
-%  A description of each parameter follows:
-%
-%    o image:  Method ReadPICTImage returns a pointer to the image after
-%      reading.  A null image is returned if there is a memory shortage or
-%      if the image cannot be read.
-%
-%    o image_info: the image info..
-%
-%    o exception: return any errors or warnings in this structure.
-%
-*/
-
-static inline size_t MagickMax(const size_t x,const size_t y)
-{
-  if (x > y)
-    return(x);
-  return(y);
-}
-
-MagickExport Image *ReadPICTImage(const ImageInfo *image_info,
-  ExceptionInfo *exception)
-{
-#define PICTHeaderSize    512
-
-  CodecType
-    codec;
-
-  GDHandle
-    device;
-
-  GWorldPtr
-    graphic_world,
-    port;
-
-  Image
-    *image;
-
-  int
-    depth,
-    status;
-
-  MagickBooleanType
-    proceed,
-    status;
-
-  PicHandle
-    picture_handle;
-
-  PictInfo
-    picture_info;
-
-  QDErr
-    theErr = noErr;
-
-  Rect
-    rectangle;
-
-  RGBColor
-    Pixel;
-
-  short
-    colormap_id;
-
-  ssize_t
-    y;
-
-  /*
-    Open image file.
-  */
-  image=AcquireImage(image_info,exception);
-  status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception);
-  if (status == MagickFalse)
-    return(NULL);
-  picture_handle=(PicHandle) NewHandle(MagickMax(GetBlobSize(image)-
-    PICTHeaderSize,PICTHeaderSize));
-  if (picture_handle == nil)
-    ThrowReaderException(ResourceLimitError,"MemoryAllocationFailed");
-  HLock((Handle) picture_handle);
-  (void) ReadBlob(image,PICTHeaderSize,*(unsigned char **) picture_handle);
-  status=ReadBlob(image,GetBlobSize(image)-PICTHeaderSize,*(unsigned char **)
-    picture_handle);
-  if (status == MagickFalse)
-    {
-      DisposeHandle((Handle) picture_handle);
-      ThrowReaderException(CorruptImageError,"UnableToReadImageData");
-    }
-  GetGWorld(&port,&device);
-  theErr=NewGWorld(&graphic_world,0,&(**picture_handle).picFrame,nil,nil,
-    useTempMem | keepLocal);
-  if ((theErr != noErr) && (graphic_world == nil))
-    {
-      DisposeHandle((Handle) picture_handle);
-      ThrowReaderException(ResourceLimitError,"MemoryAllocationFailed");
-    }
-  HUnlock((Handle) picture_handle);
-  SetGWorld(graphic_world,nil);
-  theErr=GetPictInfo(picture_handle,&picture_info,0,1,systemMethod,0);
-  if (theErr != noErr)
-    {
-      DisposeGWorld(graphic_world);
-      DisposeHandle((Handle) picture_handle);
-      ThrowReaderException(CorruptImageError,"UnableToReadImageData");
-    }
-#if defined(DISABLE_QUICKTIME)
-  codec='unkn';
-  colormap_id=(-1);
-  depth=picture_info.depth;
-#else
-  BottleneckTest(picture_handle,&codec,&depth,&colormap_id);
-#endif
-  switch (codec)
-  {
-    case 'rpza':
-    case 'jpeg':
-    case 'rle ':
-    case 'raw ':
-    case 'smc ':
-    {
-      if (depth > 200)
-        {
-          depth-=32;
-          picture_info.theColorTable=GetCTable(colormap_id);
-        }
-      break;
-    }
-    default:
-    {
-      depth=picture_info.depth;
-      if (depth <= 8)
-        (void) GetPictInfo(picture_handle,&picture_info,returnColorTable,
-          (short) (1 << picture_info.depth),systemMethod,0);
-      break;
-    }
-  }
-  image->resolution.x=(picture_info.hRes) >> 16;
-  image->resolution.y=(picture_info.vRes) >> 16;
-  image->units=PixelsPerInchResolution;
-  image->columns=picture_info.sourceRect.right-picture_info.sourceRect.left;
-  image->rows=picture_info.sourceRect.bottom-picture_info.sourceRect.top;
-  if ((depth <= 8) && ((*(picture_info.theColorTable))->ctSize != 0))
-    {
-      size_t
-        number_colors;
-
-      /*
-        Colormapped PICT image.
-      */
-      number_colors=(*(picture_info.theColorTable))->ctSize;
-      if (!AcquireImageColormap(image,number_colors))
-        {
-          if (picture_info.theColorTable != nil)
-            DisposeHandle((Handle) picture_info.theColorTable);
-          DisposeGWorld(graphic_world);
-          DisposeHandle((Handle) picture_handle);
-          ThrowReaderException(ResourceLimitError,"MemoryAllocationFailed");
-        }
-      for (x=0; x < image->colors; x++)
-      {
-        image->colormap[x].red=
-          (*(picture_info.theColorTable))->ctTable[x].rgb.red;
-        image->colormap[x].green=
-          (*(picture_info.theColorTable))->ctTable[x].rgb.green;
-        image->colormap[x].blue=
-          (*(picture_info.theColorTable))->ctTable[x].rgb.blue;
-      }
-    }
-  SetRect(&rectangle,0,0,image->columns,image->rows);
-  (void) UpdateGWorld(&graphic_world,depth,&rectangle,
-    picture_info.theColorTable,nil,0);
-  LockPixels(GetGWorldPixMap(graphic_world));  /*->portPixMap); */
-  EraseRect(&rectangle);
-  DrawPicture(picture_handle,&rectangle);
-  if ((depth <= 8) && (colormap_id == -1))
-    {
-      DisposeHandle((Handle) picture_info.theColorTable);
-      picture_info.theColorTable=nil;
-    }
-  DisposeHandle((Handle) picture_handle);
-  /*
-    Convert PICT pixels to pixel packets.
-  */
-  for (y=0; y < image->rows; y++)
-  {
-    register ssize_t
-      x;
-
-    register Quantum
-      *restrict q;
-
-    q=QueueAuthenticPixels(image,0,y,image->columns,1,exception);
-    if (q == (Quantum *) NULL)
-      break;
-    for (x=0; x < image->columns; x++)
-    {
-      GetCPixel(x,y,&Pixel);
-      SetPixelRed(image,ScaleCharToQuantum(Pixel.red & 0xff),q);
-      SetPixelGreen(image,ScaleCharToQuantum(Pixel.green & 0xff),q);
-      SetPixelBlue(image,ScaleCharToQuantum(Pixel.blue & 0xff),q);
-      if (image->storage_class == PseudoClass)
-        SetPixelIndex(image,Color2Index(&Pixel),q);
-      q+=GetPixelChannels(image);
-    }
-    if (SyncAuthenticPixels(image,exception) == MagickFalse)
-      break;
-    proceed=SetImageProgress(image,LoadImageTag,y,image->rows);
-    if (proceed == MagickFalse)
-      break;
-  }
-  UnlockPixels(GetGWorldPixMap(graphic_world));
-  SetGWorld(port,device);
-  if (picture_info.theColorTable != nil)
-    DisposeHandle((Handle) picture_info.theColorTable);
-  DisposeGWorld(graphic_world);
-  (void) CloseBlob(image);
-  return(image);
-}
-\f
-/*
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%                                                                             %
-%                                                                             %
-%                                                                             %
-%   S e a r c h F o r F i l e                                                 %
-%                                                                             %
-%                                                                             %
-%                                                                             %
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-%  SearchForFile() searches for a file.
-%
-%
-*/
-static Boolean SearchForFile(OSType creator_type,OSType file_type,FSSpec *file,
-  short count)
-{
-  char
-    *buffer;
-
-  CInfoPBRec
-    search1_info,
-    search2_info;
-
-  FSSpec
-    application;
-
-  HParamBlockRec
-    parameter_info;
-
-  OSErr
-    error;
-
-  ProcessInfoRec
-    application_info;
-
-  ProcessSerialNumber
-    serial_number;
-
-  ssize_t
-    buffer_size = 16384;
-
-  serial_number.lowLongOfPSN=kCurrentProcess;
-  serial_number.highLongOfPSN=0;
-  application_info.processInfoLength=sizeof(ProcessInfoRec);
-  application_info.processName=NULL;
-  application_info.processAppSpec=(&application);
-  GetProcessInformation(&serial_number,&application_info);
-  buffer=NewPtr(buffer_size);
-  if (buffer == (char *) NULL)
-    return(false);
-  parameter_info.csParam.ioCompletion=NULL;
-  parameter_info.csParam.ioNamePtr=NULL;
-  parameter_info.csParam.ioVRefNum=application.vRefNum;
-  parameter_info.csParam.ioMatchPtr=file;
-  parameter_info.csParam.ioReqMatchCount=count;
-  parameter_info.csParam.ioSearchBits=fsSBFlFndrInfo;
-  parameter_info.csParam.ioSearchInfo1=&search1_info;
-  parameter_info.csParam.ioSearchInfo2=&search2_info;
-  parameter_info.csParam.ioSearchTime=0;
-  parameter_info.csParam.ioCatPosition.initialize=0;
-  parameter_info.csParam.ioOptBuffer=buffer;
-  parameter_info.csParam.ioOptBufSize=buffer_size;
-  search1_info.hFileInfo.ioNamePtr=NULL;
-  search1_info.hFileInfo.ioFlFndrInfo.fdType=file_type;
-  search1_info.hFileInfo.ioFlFndrInfo.fdCreator=creator_type;
-  search1_info.hFileInfo.ioFlAttrib=0;
-  search1_info.hFileInfo.ioFlParID=0;
-  search2_info=search1_info;
-  search2_info.hFileInfo.ioFlAttrib=0x10;
-  search2_info.hFileInfo.ioFlFndrInfo.fdCreator=creator_type;
-  search2_info.hFileInfo.ioFlFndrInfo.fdType=(-1);
-  search2_info.hFileInfo.ioFlFndrInfo.fdFlags=0;
-  search2_info.hFileInfo.ioFlFndrInfo.fdLocation.h=0;
-  search2_info.hFileInfo.ioFlFndrInfo.fdLocation.v=0;
-  search2_info.hFileInfo.ioFlFndrInfo.fdFldr=0;
-  search2_info.hFileInfo.ioFlParID=0;
-  error=PBCatSearchSync((CSParamPtr) &parameter_info);
-  DisposePtr(buffer);
-  if (parameter_info.csParam.ioReqMatchCount ==
-      parameter_info.csParam.ioActMatchCount)
-    error=eofErr;
-  if (parameter_info.csParam.ioActMatchCount == 0)
-    error=0;
-  return(error == eofErr);
-}
-\f
-#if !defined(_MAGICKCORE_POSIX_SUPPORT_VERSION)
-/*
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%                                                                             %
-%                                                                             %
-%                                                                             %
-%   s e e k d i r                                                             %
-%                                                                             %
-%                                                                             %
-%                                                                             %
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-%  seekdir() sets the position of the next readdir() operation on the directory
-%  stream.
-%
-%  The format of the seekdir method is:
-%
-%      void seekdir(DIR *entry,ssize_t position)
-%
-%  A description of each parameter follows:
-%
-%    o entry: Specifies a pointer to a DIR structure.
-%
-%    o position: specifies the position associated with the directory
-%      stream.
-%
-%
-%
-*/
-MagickExport void seekdir(DIR *entry,ssize_t position)
-{
-  assert(entry != (DIR *) NULL);
-  entry->d_index=position;
-}
-#endif
-\f
-/*
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%                                                                             %
-%                                                                             %
-%                                                                             %
-%   S e t A p p l i c a t i o n T y p e                                       %
-%                                                                             %
-%                                                                             %
-%                                                                             %
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-%  SetApplicationType() sets the file type of an image.
-%
-%  The format of the SetApplicationType method is:
-%
-%      void SetApplicationType(const char *filename,const char *magick,
-%        OSType application)
-%
-%  A description of each parameter follows:
-%
-%    o filename: Specifies the name of the file.
-%
-%    o filename: Specifies the file type.
-%
-%    o application: Specifies the type of the application.
-%
-*/
-
-static inline size_t MagickMin(const size_t x,const size_t y)
-{
-  if (x < y)
-    return(x);
-  return(y);
-}
-
-MagickExport void SetApplicationType(const char *filename,const char *magick,
-  OSType application)
-{
-  FSSpec
-    file_specification;
-
-  OSType
-    filetype;
-
-  Str255
-    name;
-
-  assert(filename != (char *) NULL);
-  if (image->debug != MagickFalse)
-    (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",filename);
-  assert(magick != (const char *) NULL);
-  filetype='    ';
-  (void) CopyMagickString((char *) &filetype,magick,MagickMin(strlen(magick),
-    4));
-  if (LocaleCompare(magick,"JPG") == 0)
-    (void) CopyMagickString((char *) &filetype,"JPEG",MagickPathExtent);
-  c2pstrcpy(name,filename);
-  FSMakeFSSpec(0,0,name,&file_specification);
-  FSpCreate(&file_specification,application,filetype,smSystemScript);
-}
-\f
-#if !defined(_MAGICKCORE_POSIX_SUPPORT_VERSION)
-/*
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%                                                                             %
-%                                                                             %
-%                                                                             %
-%   t e l l d i r                                                             %
-%                                                                             %
-%                                                                             %
-%                                                                             %
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-%   Method telldir returns the current location associated  with  the
-%   named directory stream.
-%
-%  The format of the telldir method is:
-%
-%      telldir(DIR *entry)
-%
-%  A description of each parameter follows:
-%
-%    o entry: Specifies a pointer to a DIR structure.
-%
-%
-*/
-MagickExport ssize_t telldir(DIR *entry)
-{
-  return(entry->d_index);
-}
-#endif
-
-#endif
diff --git a/MagickCore/mac.h b/MagickCore/mac.h
deleted file mode 100644 (file)
index f7aa07e..0000000
+++ /dev/null
@@ -1,111 +0,0 @@
-/*
-  Copyright 1999-2015 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.
-  obtain a copy of the License at
-  
-    http://www.imagemagick.org/script/license.php
-  
-  Unless required by applicable law or agreed to in writing, software
-  distributed under the License is distributed on an "AS IS" BASIS,
-  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  See the License for the specific language governing permissions and
-  limitations under the License.
-
-  MagickCore utility methods.
-*/
-#ifndef _MAGICKCORE_MAC_H
-#define _MAGICKCORE_MAC_H
-
-#include <locale.h>
-#include <Errors.h>
-#include <Files.h>
-#include <errno.h>
-
-#if defined(__cplusplus) || defined(c_plusplus)
-extern "C" {
-#endif
-
-#if defined(_MAGICKCORE_POSIX_SUPPORT_VERSION)
-# include <dirent.h>
-# if !defined(DISABLE_SIOUX)
-#  include <SIOUX.h>
-# endif
-#else
-# include <stat.h>
-
-#define S_IREAD  00400
-#define S_IWRITE  00200
-
-typedef struct _DIR
-{
-  int
-    d_VRefNum;
-
-  long
-    d_DirID;
-
-  int
-    d_index;
-} DIR;
-
-struct dirent
-{
-  char
-    d_name[255];
-
-  int
-    d_namlen;
-};
-#endif
-
-MagickExport Image
-  *ReadPICTImage(const ImageInfo *,ExceptionInfo *);
-
-extern MagickExport int
-  Exit(int),
-  MACSystemCommand(const char *);
-
-extern MagickExport MagickBooleanType
-  MACIsMagickConflict(const char *);
-
-extern MagickExport void
-  MACErrorHandler(const ExceptionType,const char *,const char *),
-  MACWarningHandler(const ExceptionType,const char *,const char *),
-  ProcessPendingEvents(const char *),
-  SetApplicationType(const char *,const char *,OSType);
-
-#if defined(DISABLE_SIOUX)
-typedef void
-  (*MACEventHookPtr)(const char *);
-
-typedef void
-  (*MACErrorHookPtr)(const short,const char *text);
-
-extern MagickExport void
-  MACSetErrorHook(MACErrorHookPtr),
-  MACSetEventHook(MACEventHookPtr),
-  MACFatalErrorHandler(const ExceptionType,const char *,const char *);
-#endif
-
-#if !defined(_MAGICKCORE_POSIX_SUPPORT_VERSION)
-extern MagickExport DIR
-  *opendir(const char *);
-
-extern MagickExport long
-  telldir(DIR *);
-
-extern MagickExport struct dirent
-  *readdir(DIR *);
-
-extern MagickExport void
-  seekdir(DIR *,long),
-  closedir(DIR *);
-#endif
-
-#if defined(__cplusplus) || defined(c_plusplus)
-}
-#endif
-
-#endif
index 46b243fb265e88e31a203cf1790cde264f44d425..17535cab14d824ef2c794be929ef566545449249 100644 (file)
@@ -32,11 +32,7 @@ extern "C" {
 
 #if !defined(_MAGICKCORE_CONFIG_H)
 # define _MAGICKCORE_CONFIG_H
-# if !defined(vms) && !defined(macintosh)
-#  include "MagickCore/magick-config.h"
-# else
-#  include "magick-config.h"
-# endif
+# include "MagickCore/magick-config.h"
 #if defined(MAGICKCORE__FILE_OFFSET_BITS) && !defined(_FILE_OFFSET_BITS)
 # define _FILE_OFFSET_BITS MAGICKCORE__FILE_OFFSET_BITS
 #endif
@@ -238,12 +234,6 @@ extern int vsnprintf(char *,size_t,const char *,va_list);
 #if defined(MAGICKCORE_WINDOWS_SUPPORT)
 # include "MagickCore/nt-base.h"
 #endif
-#if defined(macintosh)
-# include "MagickCore/mac.h"
-#endif
-#if defined(vms)
-# include "MagickCore/vms.h"
-#endif
 
 #undef HAVE_CONFIG_H
 #undef gamma
@@ -265,21 +255,6 @@ extern int vsnprintf(char *,size_t,const char *,va_list);
 # define ReadCommandlLine(argc,argv)
 # define SetNotifyHandlers
 #else
-# if defined(vms)
-#  define X11_APPLICATION_PATH  "decw$system_defaults:"
-#  define DirectorySeparator  ""
-#  define DirectoryListSeparator  ';'
-#  define EditorOptions  ""
-#  define Exit  exit
-#  define IsBasenameSeparator(c) \
-  (((c) == ']') || ((c) == ':') || ((c) == '/') ? MagickTrue : MagickFalse)
-#  define MAGICKCORE_LIBRARY_PATH  "sys$login:"
-#  define MAGICKCORE_SHARE_PATH  "sys$login:"
-#  define X11_PREFERENCES_PATH  "decw$user_defaults:"
-#  define ProcessPendingEvents(text)
-#  define ReadCommandlLine(argc,argv)
-#  define SetNotifyHandlers
-# endif
 # if defined(__OS2__)
 #   define DirectorySeparator  "\\"
 #   define DirectoryListSeparator  ';'
@@ -292,28 +267,6 @@ extern int vsnprintf(char *,size_t,const char *,va_list);
 # define ReadCommandlLine(argc,argv)
 # define SetNotifyHandlers
 #endif
-# if defined(macintosh)
-#  define X11_APPLICATION_PATH  "/usr/lib/X11/app-defaults/"
-#  define DirectorySeparator  ":"
-#  define DirectoryListSeparator  ';'
-#  define EditorOptions ""
-#  define IsBasenameSeparator(c)  ((c) == ':' ? MagickTrue : MagickFalse)
-#  define MAGICKCORE_LIBRARY_PATH  ""
-#  define MAGICKCORE_SHARE_PATH  ""
-#  define X11_PREFERENCES_PATH  "~/."
-#  if defined(DISABLE_SIOUX)
-#   define ReadCommandlLine(argc,argv)
-#   define SetNotifyHandlers \
-     SetFatalErrorHandler(MacFatalErrorHandler); \
-     SetErrorHandler(MACErrorHandler); \
-     SetWarningHandler(MACWarningHandler)
-#  else
-#   define ReadCommandlLine(argc,argv) argc=ccommand(argv); puts(MagickVersion);
-#   define SetNotifyHandlers \
-     SetErrorHandler(MACErrorHandler); \
-     SetWarningHandler(MACWarningHandler)
-#  endif
-# endif
 # if defined(MAGICKCORE_WINDOWS_SUPPORT)
 #  define DirectorySeparator  "\\"
 #  define DirectoryListSeparator  ';'
diff --git a/MagickCore/vms.c b/MagickCore/vms.c
deleted file mode 100644 (file)
index 9b76d5f..0000000
+++ /dev/null
@@ -1,271 +0,0 @@
-/*
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%                                                                             %
-%                                                                             %
-%                                                                             %
-%                            V   V  M   M  SSSSS                              %
-%                            V   V  MM MM  SS                                 %
-%                            V   V  M M M   SSS                               %
-%                             V V   M   M     SS                              %
-%                              V    M   M  SSSSS                              %
-%                                                                             %
-%                                                                             %
-%                         MagickCore VMS Utility Methods                      %
-%                                                                             %
-%                               Software Design                               %
-%                                    Cristy                                   %
-%                                October 1994                                 %
-%                                                                             %
-%                                                                             %
-%  Copyright 1999-2015 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.  You may  %
-%  obtain a copy of the License at                                            %
-%                                                                             %
-%    http://www.imagemagick.org/script/license.php                            %
-%                                                                             %
-%  Unless required by applicable law or agreed to in writing, software        %
-%  distributed under the License is distributed on an "AS IS" BASIS,          %
-%  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.   %
-%  See the License for the specific language governing permissions and        %
-%  limitations under the License.                                             %
-%                                                                             %
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-%  The directory methods are strongly based on similar methods written
-%  by Rich Salz.
-%
-*/
-\f
-#if defined(vms)
-/*
-  Include declarations.
-*/
-#include "MagickCore/studio.h"
-#include "MagickCore/string_.h"
-#include "MagickCore/memory_.h"
-#include "MagickCore/vms.h"
-\f
-#if !defined(_AXP_) && (!defined(__VMS_VER) || (__VMS_VER < 70000000))
-/*
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%                                                                             %
-%                                                                             %
-%                                                                             %
-%   c l o s e d i r                                                           %
-%                                                                             %
-%                                                                             %
-%                                                                             %
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-%  closedir() closes the named directory stream and frees the DIR structure.
-%
-%  The format of the closedir method is:
-%
-%
-%  A description of each parameter follows:
-%
-%    o entry: Specifies a pointer to a DIR structure.
-%
-%
-*/
-void closedir(DIR *directory)
-{
-  if (image->debug != MagickFalse)
-    (void) LogMagickEvent(TraceEvent,GetMagickModule(),"...");
-  assert(directory != (DIR *) NULL);
-  directory->pattern=DestroyString(directory->pattern);
-  directory=DestroyString(directory);
-}
-\f
-/*
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%                                                                             %
-%                                                                             %
-%                                                                             %
-%   o p e n d i r                                                             %
-%                                                                             %
-%                                                                             %
-%                                                                             %
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-%  opendir() opens the directory named by filename and associates a directory
-%  stream with it.
-%
-%  The format of the opendir method is:
-%
-%      opendir(entry)
-%
-%  A description of each parameter follows:
-%
-%    o entry: Specifies a pointer to a DIR structure.
-%
-%
-*/
-DIR *opendir(char *name)
-{
-  DIR
-    *directory;
-
-  /*
-    Allocate memory for handle and the pattern.
-  */
-  directory=(DIR *) AcquireMagickMemory(sizeof(DIR));
-  if (directory == (DIR *) NULL)
-    {
-      errno=ENOMEM;
-      return((DIR *) NULL);
-    }
-  if (strcmp(".",name) == 0)
-    name="";
-  directory->pattern=(char *) AcquireQuantumMemory(strlen(name)+sizeof("*.*")+
-    1UL,sizeof(*directory->pattern));
-  if (directory->pattern == (char *) NULL)
-    {
-      directory=DestroyString(directory);
-      errno=ENOMEM;
-      return(NULL);
-    }
-  /*
-    Initialize descriptor.
-  */
-  (void) FormatLocaleString(directory->pattern,MagickPathExtent,"%s*.*",name);
-  directory->context=0;
-  directory->pat.dsc$a_pointer=directory->pattern;
-  directory->pat.dsc$w_length=strlen(directory->pattern);
-  directory->pat.dsc$b_dtype=DSC$K_DTYPE_T;
-  directory->pat.dsc$b_class=DSC$K_CLASS_S;
-  return(directory);
-}
-\f
-/*
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%                                                                             %
-%                                                                             %
-%                                                                             %
-%   r e a d d i r                                                             %
-%                                                                             %
-%                                                                             %
-%                                                                             %
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-%  readdir() returns a pointer to a structure representing the directory entry
-%  at the current position in the directory stream to which entry refers.
-%
-%  The format of the readdir
-%
-%      readdir(entry)
-%
-%  A description of each parameter follows:
-%
-%    o entry: Specifies a pointer to a DIR structure.
-%
-%
-*/
-struct dirent *readdir(DIR *directory)
-{
-  char
-    buffer[sizeof(directory->entry.d_name)];
-
-  int
-    status;
-
-  register char
-    *p;
-
-  register int
-    i;
-
-  struct dsc$descriptor_s
-    result;
-
-  /*
-    Initialize the result descriptor.
-  */
-  result.dsc$a_pointer=buffer;
-  result.dsc$w_length=sizeof(buffer)-2;
-  result.dsc$b_dtype=DSC$K_DTYPE_T;
-  result.dsc$b_class=DSC$K_CLASS_S;
-  status=lib$find_file(&directory->pat,&result,&directory->context);
-  if ((status == RMS$_NMF) || (directory->context == 0L))
-    return((struct dirent *) NULL);
-  /*
-    Lowercase all filenames.
-  */
-  buffer[sizeof(buffer)-1]='\0';
-  for (p=buffer; *p; p++)
-    if (isupper((int) ((unsigned char) *p)))
-      *p=tolower(*p);
-  /*
-    Skip any directory component and just copy the name.
-  */
-  p=buffer;
-  while (isspace((int) ((unsigned char) *p)) == 0)
-    p++;
-  *p='\0';
-  p=strchr(buffer,']');
-  if (p)
-    (void) CopyMagickString(directory->entry.d_name,p+1,MagickPathExtent);
-  else
-    (void) CopyMagickString(directory->entry.d_name,buffer,MagickPathExtent);
-  directory->entry.d_namlen=strlen(directory->entry.d_name);
-  return(&directory->entry);
-}
-#endif /* !defined(_AXP_) && (!defined(__VMS_VER) || (__VMS_VER < 70000000)) */
-\f
-/*
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%                                                                             %
-%                                                                             %
-%                                                                             %
-%   I s M a g i c k C o n f l i c t                                           %
-%                                                                             %
-%                                                                             %
-%                                                                             %
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-%  VMSIsMagickConflict() returns true if the image format conflicts with a
-%  logical drive (.e.g. SYS$SCRATCH:).
-%
-%  Contributed by Forrest Cahoon (forrest@wiredaemons.com)
-%
-%  The format of the VMSIsMagickConflict method is:
-%
-%      MagickBooleanType VMSIsMagickConflict(const char *magick)
-%
-%  A description of each parameter follows:
-%
-%    o magick: Specifies the image format.
-%
-%
-*/
-MagickExport MagickBooleanType VMSIsMagickConflict(const char *magick)
-{
-  ile3
-    item_list[2];
-
-  int
-    device_class,
-    status;
-
-  struct dsc$descriptor_s
-    device;
-
-  assert(magick != (char *) NULL);
-  device.dsc$w_length=strlen(magick);
-  device.dsc$a_pointer=(char *) magick;
-  device.dsc$b_class=DSC$K_CLASS_S;
-  device.dsc$b_dtype=DSC$K_DTYPE_T;
-  item_list[0].ile3$w_length=sizeof(device_class);
-  item_list[0].ile3$w_code=DVI$_DEVCLASS;
-  item_list[0].ile3$ps_bufaddr=&device_class;
-  item_list[0].ile3$ps_retlen_addr=NULL;
-  (void) ResetMagickMemory(&item_list[1],0,sizeof(item_list[1]));
-  status=sys$getdviw(0,0,&device,&item_list,0,0,0,0);
-  if ((status == SS$_NONLOCAL) ||
-      ((status & 0x01) && (device_class & (DC$_DISK | DC$_TAPE))))
-    return(MagickTrue);
-  return(MagickFalse);
-}
-#endif /* defined(vms) */
diff --git a/MagickCore/vms.h b/MagickCore/vms.h
deleted file mode 100644 (file)
index 7a5534e..0000000
+++ /dev/null
@@ -1,985 +0,0 @@
-/*
-  Copyright 1999-2015 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.
-  obtain a copy of the License at
-  
-    http://www.imagemagick.org/script/license.php
-  
-  Unless required by applicable law or agreed to in writing, software
-  distributed under the License is distributed on an "AS IS" BASIS,
-  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  See the License for the specific language governing permissions and
-  limitations under the License.
-
-  MagickCore VMS compatibility methods.
-*/
-#ifndef _MAGICKCORE_VMS_H
-#define _MAGICKCORE_VMS_H
-
-#if defined(__cplusplus) || defined(c_plusplus)
-extern "C" {
-#endif
-
-#if defined(__DECC) || defined(__DECCXX)
-#  include <lib$routines.h>
-#  include <starlet.h>
-#endif
-
-#include <errno.h>
-#include <descrip.h>
-#include <rmsdef.h>
-#include <ctype.h>
-#include <dvidef.h>
-#include <dcdef.h>
-#include <ssdef.h>
-
-#define DtSaverGetWindows DTSAVERGETWINDOWS
-#define XAddHosts XADDHOSTS
-#define XAllocClassHint XALLOCCLASSHINT
-#define XAllocColor XALLOCCOLOR
-#define XAllocColorCells XALLOCCOLORCELLS
-#define XAllocIconSize XALLOCICONSIZE
-#define XAllocNamedColor XALLOCNAMEDCOLOR
-#define XAllocSizeHints XALLOCSIZEHINTS
-#define XAllocStandardColormap XALLOCSTANDARDCOLORMAP
-#define XAllocWMHints XALLOCWMHINTS
-#define XAllowEvents XALLOWEVENTS
-#define XAutoRepeatOff XAUTOREPEATOFF
-#define XAutoRepeatOn XAUTOREPEATON
-#define XBaseFontNameListOfFontSet XBASEFONTNAMELISTOFFONTSET
-#define XBell XBELL
-#define XBitmapPad XBITMAPPAD
-#define XBlackPixel XBLACKPIXEL
-#define XBlackPixelOfScreen XBLACKPIXELOFSCREEN
-#define XChangeActivePointerGrab XCHANGEACTIVEPOINTERGRAB
-#define XChangeGC XCHANGEGC
-#define XChangeKeyboardControl XCHANGEKEYBOARDCONTROL
-#define XChangeProperty XCHANGEPROPERTY
-#define XChangeWindowAttributes XCHANGEWINDOWATTRIBUTES
-#define XCheckIfEvent XCHECKIFEVENT
-#define XCheckMaskEvent XCHECKMASKEVENT
-#define XCheckTypedWindowEvent XCHECKTYPEDWINDOWEVENT
-#define XCheckWindowEvent XCHECKWINDOWEVENT
-#define XClearArea XCLEARAREA
-#define XClearWindow XCLEARWINDOW
-#define XClipBox XCLIPBOX
-#define XCloseDisplay XCLOSEDISPLAY
-#define XCloseIM XCLOSEIM
-#define XConfigureWindow XCONFIGUREWINDOW
-#define XConvertSelection XCONVERTSELECTION
-#define XCopyArea XCOPYAREA
-#define XCopyColormapAndFree XCOPYCOLORMAPANDFREE
-#define XCopyGC XCOPYGC
-#define XCopyPlane XCOPYPLANE
-#define XCreateBitmapFromData XCREATEBITMAPFROMDATA
-#define XCreateColormap XCREATECOLORMAP
-#define XCreateFontCursor XCREATEFONTCURSOR
-#define XCreateFontSet XCREATEFONTSET
-#define XCreateGC XCREATEGC
-#define XCreateIC XCREATEIC
-#define XCreateImage XCREATEIMAGE
-#define XCreatePixmap XCREATEPIXMAP
-#define XCreatePixmapCursor XCREATEPIXMAPCURSOR
-#define XCreatePixmapFromBitmapData XCREATEPIXMAPFROMBITMAPDATA
-#define XCreateRegion XCREATEREGION
-#define XCreateSimpleWindow XCREATESIMPLEWINDOW
-#define XCreateWindow XCREATEWINDOW
-#define XDefaultColormap XDEFAULTCOLORMAP
-#define XDefaultColormapOfScreen XDEFAULTCOLORMAPOFSCREEN
-#define XDefaultDepth XDEFAULTDEPTH
-#define XDefaultGC XDEFAULTGC
-#define XDefaultRootWindow XDEFAULTROOTWINDOW
-#define XDefaultScreen XDEFAULTSCREEN
-#define XDefaultScreenOfDisplay XDEFAULTSCREENOFDISPLAY
-#define XDefaultVisual XDEFAULTVISUAL
-#define XDefineCursor XDEFINECURSOR
-#define XDeleteProperty XDELETEPROPERTY
-#define XDestroyIC XDESTROYIC
-#define XDestroyRegion XDESTROYREGION
-#define XDestroySubwindows XDESTROYSUBWINDOWS
-#define XDestroyWindow XDESTROYWINDOW
-#define XDisableAccessControl XDISABLEACCESSCONTROL
-#define XDisplayCells XDISPLAYCELLS
-#define XDisplayHeight XDISPLAYHEIGHT
-#define XDisplayName XDISPLAYNAME
-#define XDisplayOfScreen XDISPLAYOFSCREEN
-#define XDisplayWidth XDISPLAYWIDTH
-#define XDrawArc XDRAWARC
-#define XDrawArcs XDRAWARCS
-#define XDrawImageString XDRAWIMAGESTRING
-#define XDrawImageString16 XDRAWIMAGESTRING16
-#define XDrawLine XDRAWLINE
-#define XDrawLines XDRAWLINES
-#define XDrawPoint XDRAWPOINT
-#define XDrawPoints XDRAWPOINTS
-#define XDrawRectangle XDRAWRECTANGLE
-#define XDrawRectangles XDRAWRECTANGLES
-#define XDrawSegments XDRAWSEGMENTS
-#define XDrawString XDRAWSTRING
-#define XDrawString16 XDRAWSTRING16
-#define XDrawText XDRAWTEXT
-#define XEmptyRegion XEMPTYREGION
-#define XEnableAccessControl XENABLEACCESSCONTROL
-#define XEqualRegion XEQUALREGION
-#define XEventsQueued XEVENTSQUEUED
-#define XExtentsOfFontSet XEXTENTSOFFONTSET
-#define XFetchName XFETCHNAME
-#define XFillArc XFILLARC
-#define XFillArcs XFILLARCS
-#define XFillPolygon XFILLPOLYGON
-#define XFillRectangle XFILLRECTANGLE
-#define XFillRectangles XFILLRECTANGLES
-#define XFilterEvent XFILTEREVENT
-#define XFlush XFLUSH
-#define XFontsOfFontSet XFONTSOFFONTSET
-#define XForceScreenSaver XFORCESCREENSAVER
-#define XFree XFREE
-#define XFreeColormap XFREECOLORMAP
-#define XFreeColors XFREECOLORS
-#define XFreeCursor XFREECURSOR
-#define XFreeDeviceList XFREEDEVICELIST
-#define XFreeDeviceState XFREEDEVICESTATE
-#define XFreeFont XFREEFONT
-#define XFreeFontInfo XFREEFONTINFO
-#define XFreeFontNames XFREEFONTNAMES
-#define XFreeFontSet XFREEFONTSET
-#define XFreeGC XFREEGC
-#define XFreeModifiermap XFREEMODIFIERMAP
-#define XFreePixmap XFREEPIXMAP
-#define XFreeStringList XFREESTRINGLIST
-#define XGetAtomName XGETATOMNAME
-#define XGetCommand XGETCOMMAND
-#define XGetDefault XGETDEFAULT
-#define XGetErrorDatabaseText XGETERRORDATABASETEXT
-#define XGetErrorText XGETERRORTEXT
-#define XGetExtensionVersion XGETEXTENSIONVERSION
-#define XGetFontProperty XGETFONTPROPERTY
-#define XGetGCValues XGETGCVALUES
-#define XGetGeometry XGETGEOMETRY
-#define XGetICValues XGETICVALUES
-#define XGetIMValues XGETIMVALUES
-#define XGetIconName XGETICONNAME
-#define XGetIconSizes XGETICONSIZES
-#define XGetImage XGETIMAGE
-#define XGetKeyboardControl XGETKEYBOARDCONTROL
-#define XGetModifierMapping XGETMODIFIERMAPPING
-#define XGetMotionEvents XGETMOTIONEVENTS
-#define XGetNormalHints XGETNORMALHINTS
-#define XGetRGBColormaps XGETRGBCOLORMAPS
-#define XGetScreenSaver XGETSCREENSAVER
-#define XGetSelectionOwner XGETSELECTIONOWNER
-#define XGetSubImage XGETSUBIMAGE
-#define XGetVisualInfo XGETVISUALINFO
-#define XGetWMColormapWindows XGETWMCOLORMAPWINDOWS
-#define XGetWMHints XGETWMHINTS
-#define XGetWMName XGETWMNAME
-#define XGetWMNormalHints XGETWMNORMALHINTS
-#define XGetWindowAttributes XGETWINDOWATTRIBUTES
-#define XGetWindowProperty XGETWINDOWPROPERTY
-#define XGrabButton XGRABBUTTON
-#define XGrabKeyboard XGRABKEYBOARD
-#define XGrabPointer XGRABPOINTER
-#define XGrabServer XGRABSERVER
-#define XHeightOfScreen XHEIGHTOFSCREEN
-#define XIconifyWindow XICONIFYWINDOW
-#define XIfEvent XIFEVENT
-#define XInstallColormap XINSTALLCOLORMAP
-#define XInternAtom XINTERNATOM
-#define XIntersectRegion XINTERSECTREGION
-#define XKeycodeToKeysym XKEYCODETOKEYSYM
-#define XKeysymToKeycode XKEYSYMTOKEYCODE
-#define XKeysymToString XKEYSYMTOSTRING
-#define XKillClient XKILLCLIENT
-#define XListFonts XLISTFONTS
-#define XListFontsWithInfo XLISTFONTSWITHINFO
-#define XListHosts XLISTHOSTS
-#define XListInputDevices XLISTINPUTDEVICES
-#define XListInstalledColormaps XLISTINSTALLEDCOLORMAPS
-#define XListPixmapFormats XLISTPIXMAPFORMATS
-#define XListProperties XLISTPROPERTIES
-#define XLoadFont XLOADFONT
-#define XLoadQueryFont XLOADQUERYFONT
-#define XLookupColor XLOOKUPCOLOR
-#define XLookupKeysym XLOOKUPKEYSYM
-#define XLookupString XLOOKUPSTRING
-#define XLowerWindow XLOWERWINDOW
-#define XMapRaised XMAPRAISED
-#define XMapSubwindows XMAPSUBWINDOWS
-#define XMapWindow XMAPWINDOW
-#define XMatchVisualInfo XMATCHVISUALINFO
-#define XMaxRequestSize XMAXREQUESTSIZE
-#define XMoveResizeWindow XMOVERESIZEWINDOW
-#define XMoveWindow XMOVEWINDOW
-#define XNextEvent XNEXTEVENT
-#define XOffsetRegion XOFFSETREGION
-#define XOpenDevice XOPENDEVICE
-#define XOpenDisplay XOPENDISPLAY
-#define XOpenIM XOPENIM
-#define XParseColor XPARSECOLOR
-#define XParseGeometry XPARSEGEOMETRY
-#define XPeekEvent XPEEKEVENT
-#define XPeekIfEvent XPEEKIFEVENT
-#define XPending XPENDING
-#define XPointInRegion XPOINTINREGION
-#define XPolygonRegion XPOLYGONREGION
-#define XPutBackEvent XPUTBACKEVENT
-#define XPutImage XPUTIMAGE
-#define XQueryColor XQUERYCOLOR
-#define XQueryColors XQUERYCOLORS
-#define XQueryDeviceState XQUERYDEVICESTATE
-#define XQueryExtension XQUERYEXTENSION
-#define XQueryFont XQUERYFONT
-#define XQueryKeymap XQUERYKEYMAP
-#define XQueryPointer XQUERYPOINTER
-#define XQueryTree XQUERYTREE
-#define XRaiseWindow XRAISEWINDOW
-#define XReadBitmapFile XREADBITMAPFILE
-#define XRecolorCursor XRECOLORCURSOR
-#define XReconfigureWMWindow XRECONFIGUREWMWINDOW
-#define XRectInRegion XRECTINREGION
-#define XRefreshKeyboardMapping XREFRESHKEYBOARDMAPPING
-#define XRemoveHosts XREMOVEHOSTS
-#define XReparentWindow XREPARENTWINDOW
-#define XResetScreenSaver XRESETSCREENSAVER
-#define XResizeWindow XRESIZEWINDOW
-#define XResourceManagerString XRESOURCEMANAGERSTRING
-#define XRestackWindows XRESTACKWINDOWS
-#define XRootWindow XROOTWINDOW
-#define XRootWindowOfScreen XROOTWINDOWOFSCREEN
-#define XScreenNumberOfScreen XSCREENNUMBEROFSCREEN
-#define XScreenOfDisplay XSCREENOFDISPLAY
-#define XSelectAsyncEvent XSELECTASYNCEVENT
-#define XSelectAsyncInput XSELECTASYNCINPUT
-#define XSelectExtensionEvent XSELECTEXTENSIONEVENT
-#define XSelectInput XSELECTINPUT
-#define XSendEvent XSENDEVENT
-#define XServerVendor XSERVERVENDOR
-#define XSetBackground XSETBACKGROUND
-#define XSetClassHint XSETCLASSHINT
-#define XSetClipMask XSETCLIPMASK
-#define XSetClipOrigin XSETCLIPORIGIN
-#define XSetClipRectangles XSETCLIPRECTANGLES
-#define XSetCloseDownMode XSETCLOSEDOWNMODE
-#define XSetCommand XSETCOMMAND
-#define XSetDashes XSETDASHES
-#define XSetErrorHandler XSETERRORHANDLER
-#define XSetFillRule XSETFILLRULE
-#define XSetFillStyle XSETFILLSTYLE
-#define XSetFont XSETFONT
-#define XSetForeground XSETFOREGROUND
-#define XSetFunction XSETFUNCTION
-#define XSetGraphicsExposures XSETGRAPHICSEXPOSURES
-#define XSetICFocus XSETICFOCUS
-#define XSetICValues XSETICVALUES
-#define XSetIOErrorHandler XSETIOERRORHANDLER
-#define XSetIconName XSETICONNAME
-#define XSetInputFocus XSETINPUTFOCUS
-#define XSetLineAttributes XSETLINEATTRIBUTES
-#define XSetLocaleModifiers XSETLOCALEMODIFIERS
-#define XSetNormalHints XSETNORMALHINTS
-#define XSetPlaneMask XSETPLANEMASK
-#define XSetRegion XSETREGION
-#define XSetScreenSaver XSETSCREENSAVER
-#define XSetSelectionOwner XSETSELECTIONOWNER
-#define XSetStandardProperties XSETSTANDARDPROPERTIES
-#define XSetState XSETSTATE
-#define XSetStipple XSETSTIPPLE
-#define XSetSubwindowMode XSETSUBWINDOWMODE
-#define XSetTSOrigin XSETTSORIGIN
-#define XSetTile XSETTILE
-#define XSetTransientForHint XSETTRANSIENTFORHINT
-#define XSetWMColormapWindows XSETWMCOLORMAPWINDOWS
-#define XSetWMHints XSETWMHINTS
-#define XSetWMIconName XSETWMICONNAME
-#define XSetWMName XSETWMNAME
-#define XSetWMNormalHints XSETWMNORMALHINTS
-#define XSetWMProperties XSETWMPROPERTIES
-#define XSetWMProtocols XSETWMPROTOCOLS
-#define XSetWindowBackground XSETWINDOWBACKGROUND
-#define XSetWindowBackgroundPixmap XSETWINDOWBACKGROUNDPIXMAP
-#define XSetWindowColormap XSETWINDOWCOLORMAP
-#define XShapeCombineMask XSHAPECOMBINEMASK
-#define XShapeCombineRectangles XSHAPECOMBINERECTANGLES
-#define XShapeGetRectangles XSHAPEGETRECTANGLES
-#define XShrinkRegion XSHRINKREGION
-#define XStoreBytes XSTOREBYTES
-#define XStoreColor XSTORECOLOR
-#define XStoreColors XSTORECOLORS
-#define XStoreName XSTORENAME
-#define XStringListToTextProperty XSTRINGLISTTOTEXTPROPERTY
-#define XStringToKeysym XSTRINGTOKEYSYM
-#define XSubtractRegion XSUBTRACTREGION
-#define XSupportsLocale XSUPPORTSLOCALE
-#define XSync XSYNC
-#define XSynchronize XSYNCHRONIZE
-#define XTextExtents XTEXTEXTENTS
-#define XTextExtents16 XTEXTEXTENTS16
-#define XTextWidth XTEXTWIDTH
-#define XTextWidth16 XTEXTWIDTH16
-#define XTranslateCoordinates XTRANSLATECOORDINATES
-#define XUndefineCursor XUNDEFINECURSOR
-#define XUngrabButton XUNGRABBUTTON
-#define XUngrabKeyboard XUNGRABKEYBOARD
-#define XUngrabPointer XUNGRABPOINTER
-#define XUngrabServer XUNGRABSERVER
-#define XUninstallColormap XUNINSTALLCOLORMAP
-#define XUnionRectWithRegion XUNIONRECTWITHREGION
-#define XUnionRegion XUNIONREGION
-#define XUnmapWindow XUNMAPWINDOW
-#define XUnsetICFocus XUNSETICFOCUS
-#define XVaCreateNestedList XVACREATENESTEDLIST
-#define XVisualIDFromVisual XVISUALIDFROMVISUAL
-#define XWMGeometry XWMGEOMETRY
-#define XWarpPointer XWARPPOINTER
-#define XWhitePixel XWHITEPIXEL
-#define XWidthOfScreen XWIDTHOFSCREEN
-#define XWindowEvent XWINDOWEVENT
-#define XWithdrawWindow XWITHDRAWWINDOW
-#define XXorRegion XXORREGION
-#define XmActivateProtocol XMACTIVATEPROTOCOL
-#define XmAddProtocolCallback XMADDPROTOCOLCALLBACK
-#define XmAddProtocols XMADDPROTOCOLS
-#define XmChangeColor XMCHANGECOLOR
-#define XmClipboardCopy XMCLIPBOARDCOPY
-#define XmClipboardEndCopy XMCLIPBOARDENDCOPY
-#define XmClipboardInquireLength XMCLIPBOARDINQUIRELENGTH
-#define XmClipboardLock XMCLIPBOARDLOCK
-#define XmClipboardRetrieve XMCLIPBOARDRETRIEVE
-#define XmClipboardStartCopy XMCLIPBOARDSTARTCOPY
-#define XmClipboardUnlock XMCLIPBOARDUNLOCK
-#define XmCreateArrowButton XMCREATEARROWBUTTON
-#define XmCreateArrowButtonGadget XMCREATEARROWBUTTONGADGET
-#define XmCreateBulletinBoardDialog XMCREATEBULLETINBOARDDIALOG
-#define XmCreateCascadeButton XMCREATECASCADEBUTTON
-#define XmCreateCascadeButtonGadget XMCREATECASCADEBUTTONGADGET
-#define XmCreateDialogShell XMCREATEDIALOGSHELL
-#define XmCreateDragIcon XMCREATEDRAGICON
-#define XmCreateDrawingArea XMCREATEDRAWINGAREA
-#define XmCreateDrawnButton XMCREATEDRAWNBUTTON
-#define XmCreateErrorDialog XMCREATEERRORDIALOG
-#define XmCreateFileSelectionBox XMCREATEFILESELECTIONBOX
-#define XmCreateFileSelectionDialog XMCREATEFILESELECTIONDIALOG
-#define XmCreateForm XMCREATEFORM
-#define XmCreateFormDialog XMCREATEFORMDIALOG
-#define XmCreateFrame XMCREATEFRAME
-#define XmCreateInformationDialog XMCREATEINFORMATIONDIALOG
-#define XmCreateLabel XMCREATELABEL
-#define XmCreateLabelGadget XMCREATELABELGADGET
-#define XmCreateMainWindow XMCREATEMAINWINDOW
-#define XmCreateMenuBar XMCREATEMENUBAR
-#define XmCreateMessageBox XMCREATEMESSAGEBOX
-#define XmCreateMessageDialog XMCREATEMESSAGEDIALOG
-#define XmCreateOptionMenu XMCREATEOPTIONMENU
-#define XmCreatePanedWindow XMCREATEPANEDWINDOW
-#define XmCreatePopupMenu XMCREATEPOPUPMENU
-#define XmCreatePromptDialog XMCREATEPROMPTDIALOG
-#define XmCreatePulldownMenu XMCREATEPULLDOWNMENU
-#define XmCreatePushButton XMCREATEPUSHBUTTON
-#define XmCreatePushButtonGadget XMCREATEPUSHBUTTONGADGET
-#define XmCreateQuestionDialog XMCREATEQUESTIONDIALOG
-#define XmCreateRadioBox XMCREATERADIOBOX
-#define XmCreateRowColumn XMCREATEROWCOLUMN
-#define XmCreateScale XMCREATESCALE
-#define XmCreateScrollBar XMCREATESCROLLBAR
-#define XmCreateScrolledList XMCREATESCROLLEDLIST
-#define XmCreateScrolledText XMCREATESCROLLEDTEXT
-#define XmCreateScrolledWindow XMCREATESCROLLEDWINDOW
-#define XmCreateSelectionDialog XMCREATESELECTIONDIALOG
-#define XmCreateSeparator XMCREATESEPARATOR
-#define XmCreateSeparatorGadget XMCREATESEPARATORGADGET
-#define XmCreateTemplateDialog XMCREATETEMPLATEDIALOG
-#define XmCreateText XMCREATETEXT
-#define XmCreateTextField XMCREATETEXTFIELD
-#define XmCreateToggleButton XMCREATETOGGLEBUTTON
-#define XmCreateToggleButtonGadget XMCREATETOGGLEBUTTONGADGET
-#define XmCreateWarningDialog XMCREATEWARNINGDIALOG
-#define XmCvtCTToXmString XMCVTCTTOXMSTRING
-#define XmDestroyPixmap XMDESTROYPIXMAP
-#define XmDragStart XMDRAGSTART
-#define XmDropSiteRegister XMDROPSITEREGISTER
-#define XmDropSiteUnregister XMDROPSITEUNREGISTER
-#define XmDropSiteUpdate XMDROPSITEUPDATE
-#define XmDropTransferStart XMDROPTRANSFERSTART
-#define XmFileSelectionBoxGetChild XMFILESELECTIONBOXGETCHILD
-#define XmFileSelectionDoSearch XMFILESELECTIONDOSEARCH
-#define XmFontListAppendEntry XMFONTLISTAPPENDENTRY
-#define XmFontListCopy XMFONTLISTCOPY
-#define XmFontListCreate XMFONTLISTCREATE
-#define XmFontListEntryCreate XMFONTLISTENTRYCREATE
-#define XmFontListEntryFree XMFONTLISTENTRYFREE
-#define XmFontListEntryGetFont XMFONTLISTENTRYGETFONT
-#define XmFontListEntryGetTag XMFONTLISTENTRYGETTAG
-#define XmFontListEntryLoad XMFONTLISTENTRYLOAD
-#define XmFontListFree XMFONTLISTFREE
-#define XmFontListFreeFontContext XMFONTLISTFREEFONTCONTEXT
-#define XmFontListGetNextFont XMFONTLISTGETNEXTFONT
-#define XmFontListInitFontContext XMFONTLISTINITFONTCONTEXT
-#define XmFontListNextEntry XMFONTLISTNEXTENTRY
-#define XmGetColors XMGETCOLORS
-#define XmGetFocusWidget XMGETFOCUSWIDGET
-#define XmGetMenuCursor XMGETMENUCURSOR
-#define XmGetPixmap XMGETPIXMAP
-#define XmGetPixmapByDepth XMGETPIXMAPBYDEPTH
-#define XmGetTearOffControl XMGETTEAROFFCONTROL
-#define XmGetXmDisplay XMGETXMDISPLAY
-#define XmImMbLookupString XMIMMBLOOKUPSTRING
-#define XmImRegister XMIMREGISTER
-#define XmImSetFocusValues XMIMSETFOCUSVALUES
-#define XmImSetValues XMIMSETVALUES
-#define XmImUnregister XMIMUNREGISTER
-#define XmImUnsetFocus XMIMUNSETFOCUS
-#define XmInstallImage XMINSTALLIMAGE
-#define XmInternAtom XMINTERNATOM
-#define XmIsMotifWMRunning XMISMOTIFWMRUNNING
-#define XmListAddItem XMLISTADDITEM
-#define XmListAddItemUnselected XMLISTADDITEMUNSELECTED
-#define XmListAddItems XMLISTADDITEMS
-#define XmListAddItemsUnselected XMLISTADDITEMSUNSELECTED
-#define XmListDeleteAllItems XMLISTDELETEALLITEMS
-#define XmListDeleteItem XMLISTDELETEITEM
-#define XmListDeleteItemsPos XMLISTDELETEITEMSPOS
-#define XmListDeletePos XMLISTDELETEPOS
-#define XmListDeselectAllItems XMLISTDESELECTALLITEMS
-#define XmListDeselectPos XMLISTDESELECTPOS
-#define XmListGetKbdItemPos XMLISTGETKBDITEMPOS
-#define XmListGetMatchPos XMLISTGETMATCHPOS
-#define XmListGetSelectedPos XMLISTGETSELECTEDPOS
-#define XmListItemExists XMLISTITEMEXISTS
-#define XmListItemPos XMLISTITEMPOS
-#define XmListPosSelected XMLISTPOSSELECTED
-#define XmListReplaceItems XMLISTREPLACEITEMS
-#define XmListReplaceItemsPos XMLISTREPLACEITEMSPOS
-#define XmListSelectItem XMLISTSELECTITEM
-#define XmListSelectPos XMLISTSELECTPOS
-#define XmListSetBottomPos XMLISTSETBOTTOMPOS
-#define XmListSetItem XMLISTSETITEM
-#define XmListSetKbdItemPos XMLISTSETKBDITEMPOS
-#define XmListSetPos XMLISTSETPOS
-#define XmMainWindowSetAreas XMMAINWINDOWSETAREAS
-#define XmMenuPosition XMMENUPOSITION
-#define XmMessageBoxGetChild XMMESSAGEBOXGETCHILD
-#define XmOptionButtonGadget XMOPTIONBUTTONGADGET
-#define XmOptionLabelGadget XMOPTIONLABELGADGET
-#define XmProcessTraversal XMPROCESSTRAVERSAL
-#define XmQmotif XMQMOTIF
-#define XmRemoveProtocolCallback XMREMOVEPROTOCOLCALLBACK
-#define XmRemoveProtocols XMREMOVEPROTOCOLS
-#define XmRemoveTabGroup XMREMOVETABGROUP
-#define XmRepTypeGetId XMREPTYPEGETID
-#define XmRepTypeGetRecord XMREPTYPEGETRECORD
-#define XmRepTypeRegister XMREPTYPEREGISTER
-#define XmRepTypeValidValue XMREPTYPEVALIDVALUE
-#define XmScrollBarSetValues XMSCROLLBARSETVALUES
-#define XmScrolledWindowSetAreas XMSCROLLEDWINDOWSETAREAS
-#define XmSelectionBoxGetChild XMSELECTIONBOXGETCHILD
-#define XmSetColorCalculation XMSETCOLORCALCULATION
-#define XmStringByteCompare XMSTRINGBYTECOMPARE
-#define XmStringCompare XMSTRINGCOMPARE
-#define XmStringConcat XMSTRINGCONCAT
-#define XmStringCopy XMSTRINGCOPY
-#define XmStringCreate XMSTRINGCREATE
-#define XmStringCreateLocalized XMSTRINGCREATELOCALIZED
-#define XmStringCreateLtoR XMSTRINGCREATELTOR
-#define XmStringCreateSimple XMSTRINGCREATESIMPLE
-#define XmStringDraw XMSTRINGDRAW
-#define XmStringDrawUnderline XMSTRINGDRAWUNDERLINE
-#define XmStringExtent XMSTRINGEXTENT
-#define XmStringFree XMSTRINGFREE
-#define XmStringFreeContext XMSTRINGFREECONTEXT
-#define XmStringGetLtoR XMSTRINGGETLTOR
-#define XmStringGetNextComponent XMSTRINGGETNEXTCOMPONENT
-#define XmStringGetNextSegment XMSTRINGGETNEXTSEGMENT
-#define XmStringInitContext XMSTRINGINITCONTEXT
-#define XmStringLength XMSTRINGLENGTH
-#define XmStringLtoRCreate XMSTRINGLTORCREATE
-#define XmStringNConcat XMSTRINGNCONCAT
-#define XmStringSegmentCreate XMSTRINGSEGMENTCREATE
-#define XmStringWidth XMSTRINGWIDTH
-#define XmTextClearSelection XMTEXTCLEARSELECTION
-#define XmTextCopy XMTEXTCOPY
-#define XmTextCut XMTEXTCUT
-#define XmTextFieldClearSelection XMTEXTFIELDCLEARSELECTION
-#define XmTextFieldCopy XMTEXTFIELDCOPY
-#define XmTextFieldCut XMTEXTFIELDCUT
-#define XmTextFieldGetEditable XMTEXTFIELDGETEDITABLE
-#define XmTextFieldGetInsertionPosition XMTEXTFIELDGETINSERTIONPOSITION
-#define XmTextFieldGetLastPosition XMTEXTFIELDGETLASTPOSITION
-#define XmTextFieldGetMaxLength XMTEXTFIELDGETMAXLENGTH
-#define XmTextFieldGetSelection XMTEXTFIELDGETSELECTION
-#define XmTextFieldGetSelectionPosition XMTEXTFIELDGETSELECTIONPOSITION
-#define XmTextFieldGetString XMTEXTFIELDGETSTRING
-#define XmTextFieldInsert XMTEXTFIELDINSERT
-#define XmTextFieldPaste XMTEXTFIELDPASTE
-#define XmTextFieldRemove XMTEXTFIELDREMOVE
-#define XmTextFieldReplace XMTEXTFIELDREPLACE
-#define XmTextFieldSetAddMode XMTEXTFIELDSETADDMODE
-#define XmTextFieldSetHighlight XMTEXTFIELDSETHIGHLIGHT
-#define XmTextFieldSetInsertionPosition XMTEXTFIELDSETINSERTIONPOSITION
-#define XmTextFieldSetMaxLength XMTEXTFIELDSETMAXLENGTH
-#define XmTextFieldSetSelection XMTEXTFIELDSETSELECTION
-#define XmTextFieldSetString XMTEXTFIELDSETSTRING
-#define XmTextFieldShowPosition XMTEXTFIELDSHOWPOSITION
-#define XmTextGetCursorPosition XMTEXTGETCURSORPOSITION
-#define XmTextGetEditable XMTEXTGETEDITABLE
-#define XmTextGetInsertionPosition XMTEXTGETINSERTIONPOSITION
-#define XmTextGetLastPosition XMTEXTGETLASTPOSITION
-#define XmTextGetMaxLength XMTEXTGETMAXLENGTH
-#define XmTextGetSelection XMTEXTGETSELECTION
-#define XmTextGetSelectionPosition XMTEXTGETSELECTIONPOSITION
-#define XmTextGetString XMTEXTGETSTRING
-#define XmTextInsert XMTEXTINSERT
-#define XmTextPaste XMTEXTPASTE
-#define XmTextPosToXY XMTEXTPOSTOXY
-#define XmTextRemove XMTEXTREMOVE
-#define XmTextReplace XMTEXTREPLACE
-#define XmTextSetCursorPosition XMTEXTSETCURSORPOSITION
-#define XmTextSetEditable XMTEXTSETEDITABLE
-#define XmTextSetHighlight XMTEXTSETHIGHLIGHT
-#define XmTextSetInsertionPosition XMTEXTSETINSERTIONPOSITION
-#define XmTextSetSelection XMTEXTSETSELECTION
-#define XmTextSetString XMTEXTSETSTRING
-#define XmTextShowPosition XMTEXTSHOWPOSITION
-#define XmToggleButtonGadgetGetState XMTOGGLEBUTTONGADGETGETSTATE
-#define XmToggleButtonGadgetSetState XMTOGGLEBUTTONGADGETSETSTATE
-#define XmToggleButtonGetState XMTOGGLEBUTTONGETSTATE
-#define XmToggleButtonSetState XMTOGGLEBUTTONSETSTATE
-#define XmUninstallImage XMUNINSTALLIMAGE
-#define XmUpdateDisplay XMUPDATEDISPLAY
-#define XmVaCreateSimpleRadioBox XMVACREATESIMPLERADIOBOX
-#define XmbDrawString XMBDRAWSTRING
-#define XmbLookupString XMBLOOKUPSTRING
-#define XmbResetIC XMBRESETIC
-#define XmbSetWMProperties XMBSETWMPROPERTIES
-#define XmbTextEscapement XMBTEXTESCAPEMENT
-#define XmbTextExtents XMBTEXTEXTENTS
-#define XmbTextListToTextProperty XMBTEXTLISTTOTEXTPROPERTY
-#define XmbTextPropertyToTextList XMBTEXTPROPERTYTOTEXTLIST
-#define XmuClientWindow XMUCLIENTWINDOW
-#define XmuCvtStringToBitmap XMUCVTSTRINGTOBITMAP
-#define XmuLookupStandardColormap XMULOOKUPSTANDARDCOLORMAP
-#define XmuPrintDefaultErrorMessage XMUPRINTDEFAULTERRORMESSAGE
-#define XrmCombineDatabase XRMCOMBINEDATABASE
-#define XrmCombineFileDatabase XRMCOMBINEFILEDATABASE
-#define XrmDestroyDatabase XRMDESTROYDATABASE
-#define XrmGetDatabase XRMGETDATABASE
-#define XrmGetFileDatabase XRMGETFILEDATABASE
-#define XrmGetResource XRMGETRESOURCE
-#define XrmGetStringDatabase XRMGETSTRINGDATABASE
-#define XrmInitialize XRMINITIALIZE
-#define XrmMergeDatabases XRMMERGEDATABASES
-#define XrmParseCommand XRMPARSECOMMAND
-#define XrmPutFileDatabase XRMPUTFILEDATABASE
-#define XrmPutLineResource XRMPUTLINERESOURCE
-#define XrmPutStringResource XRMPUTSTRINGRESOURCE
-#define XrmQPutStringResource XRMQPUTSTRINGRESOURCE
-#define XrmQuarkToString XRMQUARKTOSTRING
-#define XrmStringToBindingQuarkList XRMSTRINGTOBINDINGQUARKLIST
-#define XrmStringToQuark XRMSTRINGTOQUARK
-#define XrmStringToQuark XRMSTRINGTOQUARK
-#define XtAddCallback XTADDCALLBACK
-#define XtAddCallbacks XTADDCALLBACKS
-#define XtAddConverter XTADDCONVERTER
-#define XtAddEventHandler XTADDEVENTHANDLER
-#define XtAddExposureToRegion XTADDEXPOSURETOREGION
-#define XtAddGrab XTADDGRAB
-#define XtAllocateGC XTALLOCATEGC
-#define XtAppAddActions XTAPPADDACTIONS
-#define XtAppAddInput XTAPPADDINPUT
-#define XtAppAddTimeOut XTAPPADDTIMEOUT
-#define XtAppAddWorkProc XTAPPADDWORKPROC
-#define XtAppCreateShell XTAPPCREATESHELL
-#define XtAppInitialize XTAPPINITIALIZE
-#define XtAppMainLoop XTAPPMAINLOOP
-#define XtAppNextEvent XTAPPNEXTEVENT
-#define XtAppPeekEvent XTAPPPEEKEVENT
-#define XtAppPending XTAPPPENDING
-#define XtAppProcessEvent XTAPPPROCESSEVENT
-#define XtAppSetErrorHandler XTAPPSETERRORHANDLER
-#define XtAppSetFallbackResources XTAPPSETFALLBACKRESOURCES
-#define XtAppSetWarningHandler XTAPPSETWARNINGHANDLER
-#define XtAppSetWarningMsgHandler XTAPPSETWARNINGMSGHANDLER
-#define XtAppWarning XTAPPWARNING
-#define XtCallActionProc XTCALLACTIONPROC
-#define XtCallCallbackList XTCALLCALLBACKLIST
-#define XtCallCallbacks XTCALLCALLBACKS
-#define XtCloseDisplay XTCLOSEDISPLAY
-#define XtConfigureWidget XTCONFIGUREWIDGET
-#define XtConvertAndStore XTCONVERTANDSTORE
-#define XtCreateApplicationContext XTCREATEAPPLICATIONCONTEXT
-#define XtCreateManagedWidget XTCREATEMANAGEDWIDGET
-#define XtCreatePopupShell XTCREATEPOPUPSHELL
-#define XtCreateWidget XTCREATEWIDGET
-#define XtDatabase XTDATABASE
-#define XtDestroyApplicationContext XTDESTROYAPPLICATIONCONTEXT
-#define XtDestroyWidget XTDESTROYWIDGET
-#define XtDisownSelection XTDISOWNSELECTION
-#define XtDispatchEvent XTDISPATCHEVENT
-#define XtDisplay XTDISPLAY
-#define XtDisplayOfObject XTDISPLAYOFOBJECT
-#define XtDisplayStringConvWarning XTDISPLAYSTRINGCONVWARNING
-#define XtDisplayToApplicationContext XTDISPLAYTOAPPLICATIONCONTEXT
-#define XtError XTERROR
-#define XtFree XTFREE
-#define XtGetActionKeysym XTGETACTIONKEYSYM
-#define XtGetActionList XTGETACTIONLIST
-#define XtGetApplicationNameAndClass XTGETAPPLICATIONNAMEANDCLASS
-#define XtGetApplicationResources XTGETAPPLICATIONRESOURCES
-#define XtGetGC XTGETGC
-#define XtGetMultiClickTime XTGETMULTICLICKTIME
-#define XtGetSelectionValue XTGETSELECTIONVALUE
-#define XtGetSelectionValues XTGETSELECTIONVALUES
-#define XtGetSubresources XTGETSUBRESOURCES
-#define XtGetValues XTGETVALUES
-#define XtGrabButton XTGRABBUTTON
-#define XtGrabKeyboard XTGRABKEYBOARD
-#define XtGrabPointer XTGRABPOINTER
-#define XtHasCallbacks XTHASCALLBACKS
-#define XtInitialize XTINITIALIZE
-#define XtInitializeWidgetClass XTINITIALIZEWIDGETCLASS
-#define XtInsertEventHandler XTINSERTEVENTHANDLER
-#define XtIsManaged XTISMANAGED
-#define XtIsObject XTISOBJECT
-#define XtIsRealized XTISREALIZED
-#define XtIsSensitive XTISSENSITIVE
-#define XtIsSubclass XTISSUBCLASS
-#define XtLastTimestampProcessed XTLASTTIMESTAMPPROCESSED
-#define XtMainLoop XTMAINLOOP
-#define XtMakeGeometryRequest XTMAKEGEOMETRYREQUEST
-#define XtMakeResizeRequest XTMAKERESIZEREQUEST
-#define XtMalloc XTMALLOC
-#define XtManageChild XTMANAGECHILD
-#define XtManageChildren XTMANAGECHILDREN
-#define XtMergeArgLists XTMERGEARGLISTS
-#define XtMoveWidget XTMOVEWIDGET
-#define XtName XTNAME
-#define XtNameToWidget XTNAMETOWIDGET
-#define XtOpenDisplay XTOPENDISPLAY
-#define XtOverrideTranslations XTOVERRIDETRANSLATIONS
-#define XtOwnSelection XTOWNSELECTION
-#define XtParseTranslationTable XTPARSETRANSLATIONTABLE
-#define XtPopdown XTPOPDOWN
-#define XtPopup XTPOPUP
-#define XtQueryGeometry XTQUERYGEOMETRY
-#define XtRealizeWidget XTREALIZEWIDGET
-#define XtRealloc XTREALLOC
-#define XtRegisterDrawable _XTREGISTERWINDOW
-#define XtReleaseGC XTRELEASEGC
-#define XtRemoveAllCallbacks XTREMOVEALLCALLBACKS
-#define XtRemoveCallback XTREMOVECALLBACK
-#define XtRemoveEventHandler XTREMOVEEVENTHANDLER
-#define XtRemoveGrab XTREMOVEGRAB
-#define XtRemoveInput XTREMOVEINPUT
-#define XtRemoveTimeOut XTREMOVETIMEOUT
-#define XtRemoveWorkProc XTREMOVEWORKPROC
-#define XtResizeWidget XTRESIZEWIDGET
-#define XtResolvePathname XTRESOLVEPATHNAME
-#define XtScreen XTSCREEN
-#define XtSetKeyboardFocus XTSETKEYBOARDFOCUS
-#define XtSetMappedWhenManaged XTSETMAPPEDWHENMANAGED
-#define XtSetSensitive XTSETSENSITIVE
-#define XtSetTypeConverter XTSETTYPECONVERTER
-#define XtSetValues XTSETVALUES
-#define XtShellStrings XTSHELLSTRINGS
-#define XtStrings XTSTRINGS
-#define XtToolkitInitialize XTTOOLKITINITIALIZE
-#define XtTranslateCoords XTTRANSLATECOORDS
-#define XtTranslateKeycode XTTRANSLATEKEYCODE
-#define XtUngrabButton XTUNGRABBUTTON
-#define XtUngrabKeyboard XTUNGRABKEYBOARD
-#define XtUngrabPointer XTUNGRABPOINTER
-#define XtUnmanageChild XTUNMANAGECHILD
-#define XtUnmanageChildren XTUNMANAGECHILDREN
-#define XtUnrealizeWidget XTUNREALIZEWIDGET
-#define XtUnregisterDrawable _XTUNREGISTERWINDOW
-#define XtVaCreateManagedWidget XTVACREATEMANAGEDWIDGET
-#define XtVaCreatePopupShell XTVACREATEPOPUPSHELL
-#define XtVaCreateWidget XTVACREATEWIDGET
-#define XtVaGetValues XTVAGETVALUES
-#define XtVaSetValues XTVASETVALUES
-#define XtWarning XTWARNING
-#define XtWidgetToApplicationContext XTWIDGETTOAPPLICATIONCONTEXT
-#define XtWindow XTWINDOW
-#define XtWindowOfObject XTWINDOWOFOBJECT
-#define XtWindowToWidget XTWINDOWTOWIDGET
-#define XwcDrawString XWCDRAWSTRING
-#define XwcFreeStringList XWCFREESTRINGLIST
-#define XwcTextEscapement XWCTEXTESCAPEMENT
-#define XwcTextExtents XWCTEXTEXTENTS
-#define XwcTextListToTextProperty XWCTEXTLISTTOTEXTPROPERTY
-#define XwcTextPropertyToTextList XWCTEXTPROPERTYTOTEXTLIST
-#define _XRegisterFilterByType _XREGISTERFILTERBYTYPE
-#define _XUnregisterFilter _XUNREGISTERFILTER
-#define _XmBottomShadowColorDefault _XMBOTTOMSHADOWCOLORDEFAULT
-#define _XmClearBorder _XMCLEARBORDER
-#define _XmConfigureObject _XMCONFIGUREOBJECT
-#define _XmDestroyParentCallback _XMDESTROYPARENTCALLBACK
-#define _XmDrawArrow _XMDRAWARROW
-#define _XmDrawShadows _XMDRAWSHADOWS
-#define _XmFontListGetDefaultFont _XMFONTLISTGETDEFAULTFONT
-#define _XmFromHorizontalPixels _XMFROMHORIZONTALPIXELS
-#define _XmFromVerticalPixels _XMFROMVERTICALPIXELS
-#define _XmGetClassExtensionPtr _XMGETCLASSEXTENSIONPTR
-#define _XmGetDefaultFontList _XMGETDEFAULTFONTLIST
-#define _XmGetTextualDragIcon _XMGETTEXTUALDRAGICON
-#define _XmGetWidgetExtData _XMGETWIDGETEXTDATA
-#define _XmGrabKeyboard _XMGRABKEYBOARD
-#define _XmGrabPointer _XMGRABPOINTER
-#define _XmInheritClass _XMINHERITCLASS
-#define _XmInputInGadget _XMINPUTINGADGET
-#define _XmMakeGeometryRequest _XMMAKEGEOMETRYREQUEST
-#define _XmMenuPopDown _XMMENUPOPDOWN
-#define _XmMoveObject _XMMOVEOBJECT
-#define _XmNavigChangeManaged _XMNAVIGCHANGEMANAGED
-#define _XmOSBuildFileList _XMOSBUILDFILELIST
-#define _XmOSFileCompare _XMOSFILECOMPARE
-#define _XmOSFindPatternPart _XMOSFINDPATTERNPART
-#define _XmOSQualifyFileSpec _XMOSQUALIFYFILESPEC
-#define _XmPostPopupMenu _XMPOSTPOPUPMENU
-#define _XmPrimitiveEnter _XMPRIMITIVEENTER
-#define _XmPrimitiveLeave _XMPRIMITIVELEAVE
-#define _XmRedisplayGadgets _XMREDISPLAYGADGETS
-#define _XmShellIsExclusive _XMSHELLISEXCLUSIVE
-#define _XmStringDraw _XMSTRINGDRAW
-#define _XmStringGetTextConcat _XMSTRINGGETTEXTCONCAT
-#define _XmStrings _XMSTRINGS
-#define _XmToHorizontalPixels _XMTOHORIZONTALPIXELS
-#define _XmToVerticalPixels _XMTOVERTICALPIXELS
-#define _XmTopShadowColorDefault _XMTOPSHADOWCOLORDEFAULT
-#define _Xm_fastPtr _XM_FASTPTR
-#define _XtCheckSubclassFlag _XTCHECKSUBCLASSFLAG
-#define _XtInherit _XTINHERIT
-#define _XtInheritTranslations _XTINHERITTRANSLATIONS
-#define applicationShellWidgetClass APPLICATIONSHELLWIDGETCLASS
-#define compositeWidgetClass COMPOSITEWIDGETCLASS
-#define lib$ediv LIB$EDIV
-#define lib$find_file LIB$FIND_FILE
-#define lib$find_file_end LIB$FIND_FILE_END
-#define lib$set_symbol LIB$SET_SYMBOL
-#define lib$sfree1_dd LIB$SFREE1_DD
-#define lib$spawn LIB$SPAWN
-#define lib$subx LIB$SUBX
-#define lib$wait LIB$WAIT
-#define overrideShellWidgetClass OVERRIDESHELLWIDGETCLASS
-#define pthread_attr_create PTHREAD_ATTR_CREATE
-#define pthread_attr_delete PTHREAD_ATTR_DELETE
-#define pthread_attr_destroy PTHREAD_ATTR_DESTROY
-#define pthread_attr_getdetach_np PTHREAD_ATTR_GETDETACH_NP
-#define pthread_attr_getguardsize_np PTHREAD_ATTR_GETGUARDSIZE_NP
-#define pthread_attr_getinheritsched PTHREAD_ATTR_GETINHERITSCHED
-#define pthread_attr_getprio PTHREAD_ATTR_GETPRIO
-#define pthread_attr_getsched PTHREAD_ATTR_GETSCHED
-#define pthread_attr_getschedparam PTHREAD_ATTR_GETSCHEDPARAM
-#define pthread_attr_getschedpolicy PTHREAD_ATTR_GETSCHEDPOLICY
-#define pthread_attr_getstacksize PTHREAD_ATTR_GETSTACKSIZE
-#define pthread_attr_init PTHREAD_ATTR_INIT
-#define pthread_attr_setdetach_np PTHREAD_ATTR_SETDETACH_NP
-#define pthread_attr_setdetachstate PTHREAD_ATTR_SETDETACHSTATE
-#define pthread_attr_setguardsize_np PTHREAD_ATTR_SETGUARDSIZE_NP
-#define pthread_attr_setinheritsched PTHREAD_ATTR_SETINHERITSCHED
-#define pthread_attr_setprio PTHREAD_ATTR_SETPRIO
-#define pthread_attr_setsched PTHREAD_ATTR_SETSCHED
-#define pthread_attr_setschedparam PTHREAD_ATTR_SETSCHEDPARAM
-#define pthread_attr_setschedpolicy PTHREAD_ATTR_SETSCHEDPOLICY
-#define pthread_attr_setstacksize PTHREAD_ATTR_SETSTACKSIZE
-#define pthread_cancel PTHREAD_CANCEL
-#define pthread_cancel_e PTHREAD_CANCEL_E
-#define pthread_cond_broadcast PTHREAD_COND_BROADCAST
-#define pthread_cond_destroy PTHREAD_COND_DESTROY
-#define pthread_cond_init PTHREAD_COND_INIT
-#define pthread_cond_sig_preempt_int_np PTHREAD_COND_SIG_PREEMPT_INT_NP
-#define pthread_cond_signal PTHREAD_COND_SIGNAL
-#define pthread_cond_signal_int_np PTHREAD_COND_SIGNAL_INT_NP
-#define pthread_cond_timedwait PTHREAD_COND_TIMEDWAIT
-#define pthread_cond_wait PTHREAD_COND_WAIT
-#define pthread_condattr_create PTHREAD_CONDATTR_CREATE
-#define pthread_condattr_delete PTHREAD_CONDATTR_DELETE
-#define pthread_condattr_init PTHREAD_CONDATTR_INIT
-#define pthread_create PTHREAD_CREATE
-#define pthread_delay_np PTHREAD_DELAY_NP
-#define pthread_detach PTHREAD_DETACH
-#define pthread_equal PTHREAD_EQUAL
-#define pthread_exc_fetch_fp_np PTHREAD_EXC_FETCH_FP_NP
-#define pthread_exc_handler_np PTHREAD_EXC_HANDLER_NP
-#define pthread_exc_pop_ctx_np PTHREAD_EXC_POP_CTX_NP
-#define pthread_exc_push_ctx_np PTHREAD_EXC_PUSH_CTX_NP
-#define pthread_exc_savecontext_np PTHREAD_EXC_SAVECONTEXT_NP
-#define pthread_exit PTHREAD_EXIT
-#define pthread_get_expiration_np PTHREAD_GET_EXPIRATION_NP
-#define pthread_getprio PTHREAD_GETPRIO
-#define pthread_getschedparam PTHREAD_GETSCHEDPARAM
-#define pthread_getscheduler PTHREAD_GETSCHEDULER
-#define pthread_getspecific PTHREAD_GETSPECIFIC
-#define pthread_getunique_np PTHREAD_GETUNIQUE_NP
-#define pthread_join PTHREAD_JOIN
-#define pthread_join32 PTHREAD_JOIN32
-#define pthread_key_create PTHREAD_KEY_CREATE
-#define pthread_key_delete PTHREAD_KEY_DELETE
-#define pthread_keycreate PTHREAD_KEYCREATE
-#define pthread_kill PTHREAD_KILL
-#define pthread_lock_global_np PTHREAD_LOCK_GLOBAL_NP
-#define pthread_mutex_destroy PTHREAD_MUTEX_DESTROY
-#define pthread_mutex_init PTHREAD_MUTEX_INIT
-#define pthread_mutex_lock PTHREAD_MUTEX_LOCK
-#define pthread_mutex_trylock PTHREAD_MUTEX_TRYLOCK
-#define pthread_mutex_unlock PTHREAD_MUTEX_UNLOCK
-#define pthread_mutexattr_create PTHREAD_MUTEXATTR_CREATE
-#define pthread_mutexattr_delete PTHREAD_MUTEXATTR_DELETE
-#define pthread_mutexattr_destroy PTHREAD_MUTEXATTR_DESTROY
-#define pthread_mutexattr_getkind_np PTHREAD_MUTEXATTR_GETKIND_NP
-#define pthread_mutexattr_init PTHREAD_MUTEXATTR_INIT
-#define pthread_mutexattr_setkind_np PTHREAD_MUTEXATTR_SETKIND_NP
-#define pthread_mutexattr_settype_np PTHREAD_MUTEXATTR_SETTYPE_NP
-#define pthread_once PTHREAD_ONCE
-#define pthread_resume_np PTHREAD_RESUME_NP
-#define pthread_self PTHREAD_SELF
-#define pthread_setasynccancel PTHREAD_SETASYNCCANCEL
-#define pthread_setcancel PTHREAD_SETCANCEL
-#define pthread_setcancelstate PTHREAD_SETCANCELSTATE
-#define pthread_setprio PTHREAD_SETPRIO
-#define pthread_setschedparam PTHREAD_SETSCHEDPARAM
-#define pthread_setscheduler PTHREAD_SETSCHEDULER
-#define pthread_setspecific PTHREAD_SETSPECIFIC
-#define pthread_suspend_np PTHREAD_SUSPEND_NP
-#define pthread_testcancel PTHREAD_TESTCANCEL
-#define pthread_unlock_global_np PTHREAD_UNLOCK_GLOBAL_NP
-#define pthread_yield PTHREAD_YIELD
-#define pthread_yield_np PTHREAD_YIELD_NP
-#define pthread_exc_raise_np PTHREAD_EXC_RAISE_NP
-#define pthread_setcanceltype PTHREAD_SETCANCELTYPE
-#define shellWidgetClass SHELLWIDGETCLASS
-#define sys$assign SYS$ASSIGN
-#define sys$bintim SYS$BINTIM
-#define sys$crembx SYS$CREMBX
-#define sys$dassgn SYS$DASSGN
-#define sys$dclexh SYS$DCLEXH
-#define sys$getdviw SYS$GETDVIW
-#define sys$getsyiw SYS$GETSYIW
-#define sys$gettim SYS$GETTIM
-#define sys$qio SYS$QIO
-#define sys$qiow SYS$QIOW
-#define sys$setef SYS$SETEF
-#define sys$synch SYS$SYNCH
-#define topLevelShellClassRec TOPLEVELSHELLCLASSREC
-#define topLevelShellWidgetClass TOPLEVELSHELLWIDGETCLASS
-#define transientShellWidgetClass TRANSIENTSHELLWIDGETCLASS
-#define vendorShellClassRec VENDORSHELLCLASSREC
-#define vendorShellWidgetClass VENDORSHELLWIDGETCLASS
-#define wmShellWidgetClass WMSHELLWIDGETCLASS
-#define xmArrowButtonWidgetClass XMARROWBUTTONWIDGETCLASS
-#define xmBulletinBoardWidgetClass XMBULLETINBOARDWIDGETCLASS
-#define xmCascadeButtonClassRec XMCASCADEBUTTONCLASSREC
-#define xmCascadeButtonGadgetClass XMCASCADEBUTTONGADGETCLASS
-#define xmCascadeButtonWidgetClass XMCASCADEBUTTONWIDGETCLASS
-#define xmDialogShellWidgetClass XMDIALOGSHELLWIDGETCLASS
-#define xmDrawingAreaWidgetClass XMDRAWINGAREAWIDGETCLASS
-#define xmDrawnButtonWidgetClass XMDRAWNBUTTONWIDGETCLASS
-#define xmFileSelectionBoxWidgetClass XMFILESELECTIONBOXWIDGETCLASS
-#define xmFormWidgetClass XMFORMWIDGETCLASS
-#define xmFrameWidgetClass XMFRAMEWIDGETCLASS
-#define xmGadgetClass XMGADGETCLASS
-#define xmLabelGadgetClass XMLABELGADGETCLASS
-#define xmLabelWidgetClass XMLABELWIDGETCLASS
-#define xmListWidgetClass XMLISTWIDGETCLASS
-#define xmMainWindowWidgetClass XMMAINWINDOWWIDGETCLASS
-#define xmManagerClassRec XMMANAGERCLASSREC
-#define xmManagerWidgetClass XMMANAGERWIDGETCLASS
-#define xmMenuShellWidgetClass XMMENUSHELLWIDGETCLASS
-#define xmMessageBoxWidgetClass XMMESSAGEBOXWIDGETCLASS
-#define xmPrimitiveClassRec XMPRIMITIVECLASSREC
-#define xmPrimitiveWidgetClass XMPRIMITIVEWIDGETCLASS
-#define xmPushButtonClassRec XMPUSHBUTTONCLASSREC
-#define xmPushButtonGadgetClass XMPUSHBUTTONGADGETCLASS
-#define xmPushButtonWidgetClass XMPUSHBUTTONWIDGETCLASS
-#define xmRowColumnWidgetClass XMROWCOLUMNWIDGETCLASS
-#define xmSashWidgetClass XMSASHWIDGETCLASS
-#define xmScaleWidgetClass XMSCALEWIDGETCLASS
-#define xmScrollBarWidgetClass XMSCROLLBARWIDGETCLASS
-#define xmScrolledWindowClassRec XMSCROLLEDWINDOWCLASSREC
-#define xmScrolledWindowWidgetClass XMSCROLLEDWINDOWWIDGETCLASS
-#define xmSeparatorGadgetClass XMSEPARATORGADGETCLASS
-#define xmSeparatorWidgetClass XMSEPARATORWIDGETCLASS
-#define xmTextFieldWidgetClass XMTEXTFIELDWIDGETCLASS
-#define xmTextWidgetClass XMTEXTWIDGETCLASS
-#define xmToggleButtonGadgetClass XMTOGGLEBUTTONGADGETCLASS
-#define xmToggleButtonWidgetClass XMTOGGLEBUTTONWIDGETCLASS
-#define XInitImage XINITIMAGE
-#define _XInitImageFuncPtrs _XINITIMAGEFUNCPTRS
-#define XtParent XTPARENT
-#define XConnectionNumber XCONNECTIONNUMBER
-#define XDrawText16 XDRAWTEXT16
-#define XFindContext XFINDCONTEXT
-#define XGetInputFocus XGETINPUTFOCUS
-#define XSaveContext XSAVECONTEXT
-#define XUniqueContext XUNIQUECONTEXT
-#define XChangePointerControl XCHANGEPOINTERCONTROL
-#pragma __member_alignment __save
-typedef struct _ile3
-{
-#pragma __nomember_alignment
-  unsigned short int
-    ile3$w_length,
-    ile3$w_code;
-
-  void
-    *ile3$ps_bufaddr;
-
-  unsigned short int
-    *ile3$ps_retlen_addr;
-} ile3;
-#pragma __member_alignment __restore
-
-
-#if defined(__VMS_VER) && (__VMS_VER >= 70000000)
-#include <dirent.h>
-#else
-\f
-/*
-  Typedef declarations.
-*/
-struct dirent
-{
-  char
-    d_name[255];
-
-  int
-    d_namlen;
-};
-
-typedef struct _dirdesc
-{
-  long
-    context;
-
-  char
-    *pattern;
-
-  struct dirent
-    entry;
-
-  struct dsc$descriptor_s
-    pat;
-} DIR;
-
-extern DIR
-  *opendir(char *);
-
-extern struct dirent
-  *readdir(DIR *);
-
-extern void
-  closedir(DIR *);
-#endif
-
-extern MagickExport MagickBooleanType
-  VMSIsMagickConflict(const char *);
-
-extern void
-  XtFree(char *);
-
-#if defined(__cplusplus) || defined(c_plusplus)
-}
-#endif
-
-#endif
index 3cd4e2226440a19ddb63925dc3136405748e0da8..864dd90671ab52284f6c108dc67d2572601aa9a5 100644 (file)
@@ -32,11 +32,7 @@ extern "C" {
 
 #if !defined(_MAGICKWAND_CONFIG_H)
 # define _MAGICKWAND_CONFIG_H
-# if !defined(vms) && !defined(macintosh)
-#  include "MagickCore/magick-config.h"
-# else
-#  include "magick-config.h"
-# endif
+# include "MagickCore/magick-config.h"
 #if defined(MAGICKCORE__FILE_OFFSET_BITS) && !defined(_FILE_OFFSET_BITS)
 # define _FILE_OFFSET_BITS MAGICKCORE__FILE_OFFSET_BITS
 #endif
@@ -240,12 +236,6 @@ extern int vsnprintf(char *,size_t,const char *,va_list);
 #if defined(MAGICKWAND_WINDOWS_SUPPORT)
 # include "MagickCore/nt-base.h"
 #endif
-#if defined(macintosh)
-# include "MagickCore/mac.h"
-#endif
-#if defined(vms)
-# include "MagickCore/vms.h"
-#endif
 
 #undef HAVE_CONFIG_H
 #undef gamma
@@ -267,21 +257,6 @@ extern int vsnprintf(char *,size_t,const char *,va_list);
 # define ReadCommandlLine(argc,argv)
 # define SetNotifyHandlers
 #else
-# if defined(vms)
-#  define X11_APPLICATION_PATH  "decw$system_defaults:"
-#  define DirectorySeparator  ""
-#  define DirectoryListSeparator  ';'
-#  define EditorOptions  ""
-#  define Exit  exit
-#  define IsBasenameSeparator(c) \
-  (((c) == ']') || ((c) == ':') || ((c) == '/') ? MagickTrue : MagickFalse)
-#  define MAGICKCORE_LIBRARY_PATH  "sys$login:"
-#  define MAGICKCORE_SHARE_PATH  "sys$login:"
-#  define X11_PREFERENCES_PATH  "decw$user_defaults:"
-#  define ProcessPendingEvents(text)
-#  define ReadCommandlLine(argc,argv)
-#  define SetNotifyHandlers
-# endif
 # if defined(__OS2__)
 #   define DirectorySeparator  "\\"
 #   define DirectoryListSeparator  ';'
@@ -294,28 +269,6 @@ extern int vsnprintf(char *,size_t,const char *,va_list);
 # define ReadCommandlLine(argc,argv)
 # define SetNotifyHandlers
 #endif
-# if defined(macintosh)
-#  define X11_APPLICATION_PATH  "/usr/lib/X11/app-defaults/"
-#  define DirectorySeparator  ":"
-#  define DirectoryListSeparator  ';'
-#  define EditorOptions ""
-#  define IsBasenameSeparator(c)  ((c) == ':' ? MagickTrue : MagickFalse)
-#  define MAGICKCORE_LIBRARY_PATH  ""
-#  define MAGICKCORE_SHARE_PATH  ""
-#  define X11_PREFERENCES_PATH  "~/."
-#  if defined(DISABLE_SIOUX)
-#   define ReadCommandlLine(argc,argv)
-#   define SetNotifyHandlers \
-     SetFatalErrorHandler(MacFatalErrorHandler); \
-     SetErrorHandler(MACErrorHandler); \
-     SetWarningHandler(MACWarningHandler)
-#  else
-#   define ReadCommandlLine(argc,argv) argc=ccommand(argv); puts(MagickVersion);
-#   define SetNotifyHandlers \
-     SetErrorHandler(MACErrorHandler); \
-     SetWarningHandler(MACWarningHandler)
-#  endif
-# endif
 # if defined(MAGICKWAND_WINDOWS_SUPPORT)
 #  define DirectorySeparator  "\\"
 #  define DirectoryListSeparator  ';'
index ed9d987e5595f6351a63c2a7856af08ffa2ef180..717a6fb4235c49b1a9992ec79c35400bfc9db169 100644 (file)
@@ -436,10 +436,10 @@ am__MagickCore_libMagickCore_@MAGICK_MAJOR_VERSION@_@MAGICK_ABI_SUFFIX@_la_SOURC
        MagickCore/image-view.h MagickCore/layer.c MagickCore/layer.h \
        MagickCore/list.c MagickCore/list.h MagickCore/locale.c \
        MagickCore/locale_.h MagickCore/log.c MagickCore/log.h \
-       MagickCore/mac.h MagickCore/magic.c MagickCore/magic.h \
-       MagickCore/magick.c MagickCore/magick-baseconfig.h \
-       MagickCore/magick-config.h MagickCore/magick-type.h \
-       MagickCore/magick.h MagickCore/matrix.c MagickCore/matrix.h \
+       MagickCore/magic.c MagickCore/magic.h MagickCore/magick.c \
+       MagickCore/magick-baseconfig.h MagickCore/magick-config.h \
+       MagickCore/magick-type.h MagickCore/magick.h \
+       MagickCore/matrix.c MagickCore/matrix.h \
        MagickCore/matrix-private.h MagickCore/memory.c \
        MagickCore/memory_.h MagickCore/memory-private.h \
        MagickCore/method-attribute.h MagickCore/methods.h \
@@ -488,44 +488,44 @@ am__MagickCore_libMagickCore_@MAGICK_MAJOR_VERSION@_@MAGICK_ABI_SUFFIX@_la_SOURC
        MagickCore/utility.c MagickCore/utility.h \
        MagickCore/utility-private.h MagickCore/version.c \
        MagickCore/version.h MagickCore/version-private.h \
-       MagickCore/vision.c MagickCore/vision.h MagickCore/vms.h \
-       MagickCore/widget.c MagickCore/widget.h \
-       MagickCore/widget-private.h MagickCore/xml-tree.c \
-       MagickCore/xml-tree.h MagickCore/xml-tree-private.h \
-       MagickCore/xwindow.c MagickCore/xwindow.h \
-       MagickCore/nt-feature.c MagickCore/nt-base.c coders/aai.c \
-       coders/art.c coders/avs.c coders/bgr.c coders/bmp.c \
-       coders/braille.c coders/cals.c coders/caption.c coders/cin.c \
-       coders/cip.c coders/clip.c coders/cmyk.c coders/cut.c \
-       coders/dcm.c coders/dds.c coders/debug.c coders/dib.c \
-       coders/dng.c coders/dot.c coders/dpx.c coders/fax.c \
-       coders/fd.c coders/fits.c coders/gif.c coders/gradient.c \
-       coders/gray.c coders/hald.c coders/hdr.c coders/histogram.c \
-       coders/hrz.c coders/html.c coders/icon.c coders/info.c \
-       coders/inline.c coders/ipl.c coders/jnx.c coders/json.c \
-       coders/label.c coders/mac.c coders/magick.c coders/map.c \
-       coders/mask.c coders/mat.c coders/matte.c coders/meta.c \
-       coders/miff.c coders/mono.c coders/mpc.c coders/mpeg.c \
-       coders/mpr.c coders/msl.c coders/mtv.c coders/mvg.c \
-       coders/null.c coders/otb.c coders/palm.c coders/pango.c \
-       coders/pattern.c coders/pcd.c coders/pcl.c coders/pcx.c \
-       coders/pdb.c coders/pdf.c coders/pes.c coders/pict.c \
-       coders/pix.c coders/plasma.c coders/pnm.c coders/preview.c \
-       coders/ps.c coders/ps2.c coders/ps3.c coders/psd.c \
-       coders/psd-private.h coders/pwp.c coders/raw.c coders/rgb.c \
-       coders/rgf.c coders/rla.c coders/rle.c coders/scr.c \
-       coders/screenshot.c coders/sct.c coders/sfw.c coders/sgi.c \
-       coders/sixel.c coders/stegano.c coders/sun.c coders/svg.c \
-       coders/tga.c coders/thumbnail.c coders/tile.c coders/tim.c \
-       coders/ttf.c coders/txt.c coders/uil.c coders/url.c \
-       coders/uyvy.c coders/vicar.c coders/vid.c coders/viff.c \
-       coders/vips.c coders/wbmp.c coders/wpg.c coders/xbm.c \
-       coders/xc.c coders/xcf.c coders/xpm.c coders/xps.c \
-       coders/xtrn.c coders/ycbcr.c coders/yuv.c coders/dps.c \
-       coders/djvu.c coders/exr.c coders/fpx.c coders/clipboard.c \
-       coders/emf.c coders/jbig.c coders/jpeg.c coders/jp2.c \
-       coders/png.c coders/ept.c coders/tiff.c coders/webp.c \
-       coders/wmf.c coders/x.c coders/xwd.c filters/analyze.c
+       MagickCore/vision.c MagickCore/vision.h MagickCore/widget.c \
+       MagickCore/widget.h MagickCore/widget-private.h \
+       MagickCore/xml-tree.c MagickCore/xml-tree.h \
+       MagickCore/xml-tree-private.h MagickCore/xwindow.c \
+       MagickCore/xwindow.h MagickCore/nt-feature.c \
+       MagickCore/nt-base.c coders/aai.c coders/art.c coders/avs.c \
+       coders/bgr.c coders/bmp.c coders/braille.c coders/cals.c \
+       coders/caption.c coders/cin.c coders/cip.c coders/clip.c \
+       coders/cmyk.c coders/cut.c coders/dcm.c coders/dds.c \
+       coders/debug.c coders/dib.c coders/dng.c coders/dot.c \
+       coders/dpx.c coders/fax.c coders/fd.c coders/fits.c \
+       coders/gif.c coders/gradient.c coders/gray.c coders/hald.c \
+       coders/hdr.c coders/histogram.c coders/hrz.c coders/html.c \
+       coders/icon.c coders/info.c coders/inline.c coders/ipl.c \
+       coders/jnx.c coders/json.c coders/label.c coders/mac.c \
+       coders/magick.c coders/map.c coders/mask.c coders/mat.c \
+       coders/matte.c coders/meta.c coders/miff.c coders/mono.c \
+       coders/mpc.c coders/mpeg.c coders/mpr.c coders/msl.c \
+       coders/mtv.c coders/mvg.c coders/null.c coders/otb.c \
+       coders/palm.c coders/pango.c coders/pattern.c coders/pcd.c \
+       coders/pcl.c coders/pcx.c coders/pdb.c coders/pdf.c \
+       coders/pes.c coders/pict.c coders/pix.c coders/plasma.c \
+       coders/pnm.c coders/preview.c coders/ps.c coders/ps2.c \
+       coders/ps3.c coders/psd.c coders/psd-private.h coders/pwp.c \
+       coders/raw.c coders/rgb.c coders/rgf.c coders/rla.c \
+       coders/rle.c coders/scr.c coders/screenshot.c coders/sct.c \
+       coders/sfw.c coders/sgi.c coders/sixel.c coders/stegano.c \
+       coders/sun.c coders/svg.c coders/tga.c coders/thumbnail.c \
+       coders/tile.c coders/tim.c coders/ttf.c coders/txt.c \
+       coders/uil.c coders/url.c coders/uyvy.c coders/vicar.c \
+       coders/vid.c coders/viff.c coders/vips.c coders/wbmp.c \
+       coders/wpg.c coders/xbm.c coders/xc.c coders/xcf.c \
+       coders/xpm.c coders/xps.c coders/xtrn.c coders/ycbcr.c \
+       coders/yuv.c coders/dps.c coders/djvu.c coders/exr.c \
+       coders/fpx.c coders/clipboard.c coders/emf.c coders/jbig.c \
+       coders/jpeg.c coders/jp2.c coders/png.c coders/ept.c \
+       coders/tiff.c coders/webp.c coders/wmf.c coders/x.c \
+       coders/xwd.c filters/analyze.c
 am__objects_1 = MagickCore/MagickCore_libMagickCore_@MAGICK_MAJOR_VERSION@_@MAGICK_ABI_SUFFIX@_la-accelerate.lo \
        MagickCore/MagickCore_libMagickCore_@MAGICK_MAJOR_VERSION@_@MAGICK_ABI_SUFFIX@_la-animate.lo \
        MagickCore/MagickCore_libMagickCore_@MAGICK_MAJOR_VERSION@_@MAGICK_ABI_SUFFIX@_la-annotate.lo \
@@ -4328,7 +4328,6 @@ MAGICKCORE_BASE_SRCS = \
        MagickCore/locale_.h \
        MagickCore/log.c \
        MagickCore/log.h \
-       MagickCore/mac.h \
        MagickCore/magic.c \
        MagickCore/magic.h \
        MagickCore/magick.c \
@@ -4446,7 +4445,6 @@ MAGICKCORE_BASE_SRCS = \
        MagickCore/version-private.h \
        MagickCore/vision.c \
        MagickCore/vision.h \
-       MagickCore/vms.h \
        MagickCore/widget.c \
        MagickCore/widget.h \
        MagickCore/widget-private.h \
@@ -4592,7 +4590,6 @@ MAGICKCORE_NOINST_HDRS = \
        MagickCore/image-private.h \
        MagickCore/locale-private.h \
        MagickCore/log-private.h \
-       MagickCore/mac.h \
        MagickCore/magick-private.h \
        MagickCore/magic-private.h \
        MagickCore/matrix-private.h \
@@ -4630,7 +4627,6 @@ MAGICKCORE_NOINST_HDRS = \
        MagickCore/type-private.h \
        MagickCore/utility-private.h \
        MagickCore/version-private.h \
-       MagickCore/vms.h \
        MagickCore/widget-private.h \
        MagickCore/xml-tree-private.h \
        MagickCore/xwindow-private.h
@@ -4644,12 +4640,8 @@ MAGICKCORE_EXTRA_DIST = \
        MagickCore/ImageMagick.pc.in \
        MagickCore/MagickCore.pc.in \
        MagickCore/libMagickCore.map \
-       MagickCore/config.h_vms \
-       MagickCore/mac.c \
        MagickCore/nt-base.c \
-       MagickCore/nt-feature.c \
-       MagickCore/vms.c \
-       MagickCore/xwdfile.h_vms 
+       MagickCore/nt-feature.c
 
 MagickWandincdir = $(INCLUDE_PATH)/MagickWand
 MAGICKWAND_CPPFLAGS = $(AM_CPPFLAGS)
index eb385cd8622f1f3c072377d071119da2bb00bde2..dd8f7045387abc04e59c8f660d32439b761c8274 100644 (file)
@@ -34,7 +34,7 @@
   <configure name="PCFLAGS" value="-fopenmp -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16"/>
   <configure name="PREFIX" value="/usr/local"/>
   <configure name="QuantumDepth" value="16"/>
-  <configure name="RELEASE_DATE" value="2015-09-05"/>
+  <configure name="RELEASE_DATE" value="2015-09-06"/>
   <configure name="SHAREARCH_PATH" value="/usr/local/lib/ImageMagick-7.0.0/config-Q16HDRI"/>
   <configure name="SHARE_PATH" value="/usr/local/share/ImageMagick-7"/>
   <configure name="GIT_REVISION" value="Unversioned" />