summaryrefslogtreecommitdiff
path: root/boost/uuid/detail/random_provider_include_platform.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/uuid/detail/random_provider_include_platform.hpp')
-rw-r--r--boost/uuid/detail/random_provider_include_platform.hpp27
1 files changed, 27 insertions, 0 deletions
diff --git a/boost/uuid/detail/random_provider_include_platform.hpp b/boost/uuid/detail/random_provider_include_platform.hpp
new file mode 100644
index 0000000000..7d14ec94c0
--- /dev/null
+++ b/boost/uuid/detail/random_provider_include_platform.hpp
@@ -0,0 +1,27 @@
+//
+// Copyright (c) 2017 James E. King III
+//
+// 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)
+//
+// Platform-specific random entropy provider platform definition
+//
+
+#ifndef BOOST_UUID_DETAIL_RANDOM_PROVIDER_PLATFORM_INCLUDE_HPP
+#define BOOST_UUID_DETAIL_RANDOM_PROVIDER_PLATFORM_INCLUDE_HPP
+
+#if defined(BOOST_UUID_RANDOM_PROVIDER_ARC4RANDOM)
+# include <boost/uuid/detail/random_provider_arc4random.ipp>
+#elif defined(BOOST_UUID_RANDOM_PROVIDER_BCRYPT)
+# include <boost/uuid/detail/random_provider_bcrypt.ipp>
+#elif defined(BOOST_UUID_RANDOM_PROVIDER_GETENTROPY)
+# include <boost/uuid/detail/random_provider_getentropy.ipp>
+#elif defined(BOOST_UUID_RANDOM_PROVIDER_POSIX)
+# include <boost/uuid/detail/random_provider_posix.ipp>
+#elif defined(BOOST_UUID_RANDOM_PROVIDER_WINCRYPT)
+# include <boost/uuid/detail/random_provider_wincrypt.ipp>
+#endif
+
+#endif // BOOST_UUID_DETAIL_RANDOM_PROVIDER_PLATFORM_INCLUDE_HPP
+