Include <magick_config.h> before other headers
Albert Chin <[email protected]>
| Newsgroups | gmane.comp.video.graphicsmagick.core |
|---|---|
| Message-ID | <[email protected]> |
Support building Magick++ if AC_SYS_LARGEFILE is used in lieu of the existing mechanism in configure.ac. This should also work with the existing mechanism in configure.ac. The local config.h file should always be included before any other headers. -- albert chin ([email protected]) -- snip snip 2003-06-25 Albert Chin-A-Young <[email protected]> * Magick++/lib/Blob.cpp, Magick++/lib/BlobRef.cpp, Magick++/lib/Thread.cpp: Include <magick_config.h> before any other headers. Index: Magick++/lib/Blob.cpp =================================================================== RCS file: /GraphicsMagick/ImageMagick/Magick++/lib/Blob.cpp,v retrieving revision 1.26 diff -u -3 -p -r1.26 Blob.cpp --- Magick++/lib/Blob.cpp 2002/08/19 18:32:28 1.26 +++ Magick++/lib/Blob.cpp 2003/06/25 23:03:55 @@ -7,11 +7,11 @@ #define MAGICK_IMPLEMENTATION -#include <string.h> - #include "Magick++/Include.h" #include "Magick++/Blob.h" #include "Magick++/BlobRef.h" + +#include <string.h> // // Implementation of Magick::Blob Index: Magick++/lib/BlobRef.cpp =================================================================== RCS file: /GraphicsMagick/ImageMagick/Magick++/lib/BlobRef.cpp,v retrieving revision 1.1 diff -u -3 -p -r1.1 BlobRef.cpp --- Magick++/lib/BlobRef.cpp 2002/08/19 18:32:28 1.1 +++ Magick++/lib/BlobRef.cpp 2003/06/25 23:03:55 @@ -7,11 +7,11 @@ #define MAGICK_IMPLEMENTATION -#include <string.h> - #include "Magick++/Include.h" #include "Magick++/Thread.h" #include "Magick++/BlobRef.h" + +#include <string.h> // // Implementation of Magick::BlobRef Index: Magick++/lib/Thread.cpp =================================================================== RCS file: /GraphicsMagick/ImageMagick/Magick++/lib/Thread.cpp,v retrieving revision 1.18 diff -u -3 -p -r1.18 Thread.cpp --- Magick++/lib/Thread.cpp 2002/08/19 18:32:28 1.18 +++ Magick++/lib/Thread.cpp 2003/06/25 23:03:55 @@ -7,10 +7,10 @@ #define MAGICK_IMPLEMENTATION -#include <string.h> - #include "Magick++/Thread.h" #include "Magick++/Exception.h" + +#include <string.h> // Default constructor Magick::MutexLock::MutexLock(void) ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php