summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
Diffstat (limited to 'utils')
-rw-r--r--utils/config.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/utils/config.h b/utils/config.h
index 9200fe73f..ce23fc0aa 100644
--- a/utils/config.h
+++ b/utils/config.h
@@ -73,6 +73,7 @@ char *strndup(const char *s, size_t n);
#else
/* We're likely to have a working mmap() */
#define WITH_MMAP
+ #define WITH_NSSPRITE
#if !defined(DEBUG_BUILD)
/* Use librsvg and Cairo for rendering SVG */
#define WITH_RSVG
@@ -83,6 +84,10 @@ char *strndup(const char *s, size_t n);
#error Cannot build WITH_NS_SVG and WITH_RSVG both enabled
#endif
+#if defined(WITH_NSSPRITE) && defined(WITH_SPRITE)
+ #error Cannot build WITH_NSSPRITE and WITH_SPRITE both enabled
+#endif
+
#if defined(riscos) || defined(DEBUG_BUILD)
/* Export modules */
#define WITH_SAVE_COMPLETE