blob: 93b81394fce8ee2c553a76761170da89db91ab31 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
diff --git a/src/gm-svg-path.c b/src/gm-svg-path.c
index f572c2820e92659ad5035218382f70c2dec9ee71..59fc5b1cb4770383b3dcbe0e5e1bccb25e817a30 100644
--- a/src/gm-svg-path.c
+++ b/src/gm-svg-path.c
@@ -10,6 +10,11 @@
#include <math.h>
+#if !GLIB_CHECK_VERSION(2, 74, 0)
+# define G_REGEX_DEFAULT 0
+# define G_REGEX_MATCH_DEFAULT 0
+#endif
+
struct bbox {
int x1, x2, y1, y2;
|