summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2021-09-13 14:59:47 +0200
committerRemi Collet <remi@remirepo.net>2021-09-13 14:59:47 +0200
commite47c619d792455aad23708d2ec2947455394427e (patch)
tree0cebf2c89ceb1a88b1d0dddde611cb5a0c71a80a
parentf4bc1f5c26925548662946ed7cfa473c190a104a (diff)
downloadlibgd-e47c619d792455aad23708d2ec2947455394427e.tar.gz
add comment to not remove these macros
-rw-r--r--src/gd.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gd.h b/src/gd.h
index 1ad9e63..71f5a89 100644
--- a/src/gd.h
+++ b/src/gd.h
@@ -1604,6 +1604,8 @@ 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