From 29aeb95a28d518944f1eb268f93a96cbb9dff7f2 Mon Sep 17 00:00:00 2001 From: Tomas Bzatek Date: Sat, 28 Mar 2009 22:00:06 +0100 Subject: Multithreading support Also made progress output a little bit nicer default = 1 thread at once, for safety reasons I've encountered critical issues with ImageMagick compiled with OpenMP support. Hope that package maintainers are clever. ShittyMagickWandGenesis(), ShittyMagickWandTerminus() :-) --- src/gallery-utils.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gallery-utils.h') diff --git a/src/gallery-utils.h b/src/gallery-utils.h index 7e5e2c0..123879b 100644 --- a/src/gallery-utils.h +++ b/src/gallery-utils.h @@ -16,9 +16,11 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #include +#include #define IS_DIR_SEP(ch) ((ch) == '/' || (ch) == '~') #define IS_EQUAL_SIGN(ch) ((ch) == '=') +#define GET_EXT(s) strrchr (s, '.') /* -- cgit v1.2.3