summaryrefslogtreecommitdiff
path: root/boost/uuid/detail/random_provider_bcrypt.ipp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/uuid/detail/random_provider_bcrypt.ipp')
-rw-r--r--boost/uuid/detail/random_provider_bcrypt.ipp12
1 files changed, 8 insertions, 4 deletions
diff --git a/boost/uuid/detail/random_provider_bcrypt.ipp b/boost/uuid/detail/random_provider_bcrypt.ipp
index 623905cbc8..d6d4a3523d 100644
--- a/boost/uuid/detail/random_provider_bcrypt.ipp
+++ b/boost/uuid/detail/random_provider_bcrypt.ipp
@@ -3,7 +3,7 @@
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENCE_1_0.txt)
+// https://www.boost.org/LICENSE_1_0.txt)
//
// BCrypt provider for entropy
//
@@ -19,9 +19,13 @@
#if defined(BOOST_UUID_FORCE_AUTO_LINK) || (!defined(BOOST_ALL_NO_LIB) && !defined(BOOST_UUID_RANDOM_PROVIDER_NO_LIB))
# define BOOST_LIB_NAME "bcrypt"
-# define BOOST_AUTO_LINK_NOMANGLE
-# include <boost/config/auto_link.hpp>
-# undef BOOST_AUTO_LINK_NOMANGLE
+# if defined(BOOST_AUTO_LINK_NOMANGLE)
+# include <boost/config/auto_link.hpp>
+# else
+# define BOOST_AUTO_LINK_NOMANGLE
+# include <boost/config/auto_link.hpp>
+# undef BOOST_AUTO_LINK_NOMANGLE
+# endif
#endif
namespace boost {