aboutsummaryrefslogtreecommitdiffstats
path: root/nsxiv.h
diff options
context:
space:
mode:
Diffstat (limited to 'nsxiv.h')
-rw-r--r--nsxiv.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/nsxiv.h b/nsxiv.h
index 7e373c2..574ab1a 100644
--- a/nsxiv.h
+++ b/nsxiv.h
@@ -159,6 +159,15 @@ typedef keymap_t button_t;
/* image.c */
+#ifdef IMLIB2_VERSION
+ #if IMLIB2_VERSION >= IMLIB2_VERSION_(1, 8, 0)
+ #define HAVE_IMLIB2_MULTI_FRAME 1
+ #endif
+#endif
+#ifndef HAVE_IMLIB2_MULTI_FRAME
+ #define HAVE_IMLIB2_MULTI_FRAME 0
+#endif
+
typedef struct {
Imlib_Image im;
unsigned int delay;