diff options
author | thegeorg <thegeorg@yandex-team.com> | 2024-04-22 14:05:37 +0300 |
---|---|---|
committer | thegeorg <thegeorg@yandex-team.com> | 2024-04-22 14:23:15 +0300 |
commit | 321f6f149d01a73e2b778c17a3e08891d4826209 (patch) | |
tree | 6cd1ec2d36605b04b269b37848b59e9fc82319ea | |
parent | e781f56739e56e6012d43a53d6a9a5b26720b9bf (diff) | |
download | ydb-321f6f149d01a73e2b778c17a3e08891d4826209.tar.gz |
Backport a patch to remove sprintf() usage
46445dce23a4a183768eb9318a35baf7a6b3d6ed
-rw-r--r-- | contrib/restricted/boost/asio/include/boost/asio/detail/config.hpp | 7 |
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 |