summaryrefslogtreecommitdiff
path: root/src/svgtiny_internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/svgtiny_internal.h')
-rw-r--r--src/svgtiny_internal.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/svgtiny_internal.h b/src/svgtiny_internal.h
index f07f430..3ea6e7b 100644
--- a/src/svgtiny_internal.h
+++ b/src/svgtiny_internal.h
@@ -10,6 +10,10 @@
#include <stdbool.h>
+#ifndef UNUSED
+#define UNUSED(x) ((void) (x))
+#endif
+
struct svgtiny_gradient_stop {
float offset;
svgtiny_colour color;