summaryrefslogtreecommitdiff
path: root/src/gallery-utils.h
diff options
context:
space:
mode:
authorTomas Bzatek <tbzatek@users.sourceforge.net>2009-03-28 22:00:06 +0100
committerTomas Bzatek <tbzatek@users.sourceforge.net>2009-03-28 22:00:06 +0100
commit29aeb95a28d518944f1eb268f93a96cbb9dff7f2 (patch)
tree154c8870d72229a95f0ab0bd93f8c4d3048b9f91 /src/gallery-utils.h
parentd9ff1192a7b5eb7defca68e90e06c68e9b986c94 (diff)
downloadcataract-29aeb95a28d518944f1eb268f93a96cbb9dff7f2.tar.xz
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() :-)
Diffstat (limited to 'src/gallery-utils.h')
-rw-r--r--src/gallery-utils.h2
1 files changed, 2 insertions, 0 deletions
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 <glib.h>
+#include <string.h>
#define IS_DIR_SEP(ch) ((ch) == '/' || (ch) == '~')
#define IS_EQUAL_SIGN(ch) ((ch) == '=')
+#define GET_EXT(s) strrchr (s, '.')
/*