aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/restricted/boost/asio/patches/apple-snprintf.patch
blob: 90e8b5df88547ce83d39b9b737bb43b0ef53bfa3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- contrib/restricted/boost/asio/include/boost/asio/detail/config.hpp	(index)
+++ contrib/restricted/boost/asio/include/boost/asio/detail/config.hpp	(working tree)
@@ -2216,7 +2216,7 @@
 // Standard library support for snprintf.
 #if !defined(BOOST_ASIO_HAS_SNPRINTF)
 # if !defined(BOOST_ASIO_DISABLE_SNPRINTF)
-#  if defined(__apple_build_version__)
+#  if defined(__APPLE__)
 #    if (__clang_major__ >= 14)
 #     define BOOST_ASIO_HAS_SNPRINTF 1
 #    endif // (__clang_major__ >= 14)