summaryrefslogtreecommitdiff
path: root/src/gd.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gd.h')
-rw-r--r--src/gd.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gd.h b/src/gd.h
index 3056039..71f5a89 100644
--- a/src/gd.h
+++ b/src/gd.h
@@ -1604,6 +1604,13 @@ BGD_DECLARE(void) gdImageFlipHorizontal(gdImagePtr im);
BGD_DECLARE(void) gdImageFlipVertical(gdImagePtr im);
BGD_DECLARE(void) gdImageFlipBoth(gdImagePtr im);
+/* Macros still used in gd extension up to PHP 8.0
+ so please keep these unused macros for now */
+#define GD_FLIP_HORINZONTAL 1 /* typo, kept for BC */
+#define GD_FLIP_HORIZONTAL 1
+#define GD_FLIP_VERTICAL 2
+#define GD_FLIP_BOTH 3
+
/**
* Group: Crop
*