aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorthegeorg <thegeorg@yandex-team.com>2024-06-17 14:33:32 +0300
committerthegeorg <thegeorg@yandex-team.com>2024-06-17 14:49:32 +0300
commit4622d99ef2ccdd757e45ef4f49e571fca3d462d0 (patch)
treec4c3ef712be966167ea052002866b0cf890ad830
parent95cc874865c4e7d67caf3dc49d48fc6884ac84bc (diff)
downloadydb-4622d99ef2ccdd757e45ef4f49e571fca3d462d0.tar.gz
Restore one more patch
9f9d88c6dfb83ccfc865bedd8b5aa9bfd303c3b3
-rw-r--r--contrib/tools/bison/lib/vasnprintf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/tools/bison/lib/vasnprintf.c b/contrib/tools/bison/lib/vasnprintf.c
index 5267b1bb5e..184937d6f1 100644
--- a/contrib/tools/bison/lib/vasnprintf.c
+++ b/contrib/tools/bison/lib/vasnprintf.c
@@ -4870,7 +4870,7 @@ VASNPRINTF (DCHAR_T *resultbuf, size_t *lengthp,
#endif
*fbp = dp->conversion;
#if USE_SNPRINTF
-# if !(((__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined __UCLIBC__) || ((defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__))
+# if !defined(__APPLE__) && !(((__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined __UCLIBC__) || ((defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__))
fbp[1] = '%';
fbp[2] = 'n';
fbp[3] = '\0';