summaryrefslogtreecommitdiff
path: root/ext/intl/idn/idn.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/intl/idn/idn.c')
-rw-r--r--ext/intl/idn/idn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/intl/idn/idn.c b/ext/intl/idn/idn.c
index 60d7b829d8..96eac77048 100644
--- a/ext/intl/idn/idn.c
+++ b/ext/intl/idn/idn.c
@@ -226,7 +226,7 @@ static void php_intl_idn_to(INTERNAL_FUNCTION_PARAMETERS,
#if defined(__clang__)
# pragma clang diagnostic push
# pragma clang diagnostic ignored "-Wdeprecated-declarations"
-#elif ZEND_GCC_VERSION >= 4002
+#elif ZEND_GCC_VERSION >= 4008
# pragma GCC diagnostic push
# pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#endif
@@ -237,7 +237,7 @@ static void php_intl_idn_to(INTERNAL_FUNCTION_PARAMETERS,
}
#if defined(__clang__)
# pragma clang diagnostic pop
-#elif ZEND_GCC_VERSION >= 4002
+#elif ZEND_GCC_VERSION >= 4008
# pragma GCC diagnostic pop
#endif
efree(ustring);