aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorthegeorg <thegeorg@yandex-team.com>2024-04-22 14:05:37 +0300
committerthegeorg <thegeorg@yandex-team.com>2024-04-22 14:23:15 +0300
commit321f6f149d01a73e2b778c17a3e08891d4826209 (patch)
tree6cd1ec2d36605b04b269b37848b59e9fc82319ea
parente781f56739e56e6012d43a53d6a9a5b26720b9bf (diff)
downloadydb-321f6f149d01a73e2b778c17a3e08891d4826209.tar.gz
Backport a patch to remove sprintf() usage
46445dce23a4a183768eb9318a35baf7a6b3d6ed
-rw-r--r--contrib/restricted/boost/asio/include/boost/asio/detail/config.hpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/contrib/restricted/boost/asio/include/boost/asio/detail/config.hpp b/contrib/restricted/boost/asio/include/boost/asio/detail/config.hpp
index 85a7023a2c..65dae51bac 100644
--- a/contrib/restricted/boost/asio/include/boost/asio/detail/config.hpp
+++ b/contrib/restricted/boost/asio/include/boost/asio/detail/config.hpp
@@ -1487,4 +1487,11 @@
# endif // defined(__clang__)
#endif // !defined(BOOST_ASIO_HAS_CO_AWAIT)
+// Standard library support for snprintf.
+#if !defined(BOOST_ASIO_HAS_SNPRINTF)
+# if !defined(BOOST_ASIO_DISABLE_SNPRINTF)
+# define BOOST_ASIO_HAS_SNPRINTF 1
+# endif // !defined(BOOST_ASIO_DISABLE_SNPRINTF)
+#endif // !defined(BOOST_ASIO_HAS_SNPRINTF)
+
#endif // BOOST_ASIO_DETAIL_CONFIG_HPP