mirror of
https://github.com/boostorg/random.git
synced 2026-01-19 04:22:17 +00:00
Fix missing sources and macro redefinition
This commit is contained in:
@@ -9,6 +9,10 @@
|
||||
|
||||
import ../../config/checks/config : requires ;
|
||||
|
||||
project boost/random ;
|
||||
|
||||
local SOURCES = random_device.cpp ;
|
||||
|
||||
lib boost_random
|
||||
|
||||
# Sources
|
||||
|
||||
@@ -10,7 +10,9 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#define BOOST_RANDOM_SOURCE
|
||||
#ifndef BOOST_RANDOM_SOURCE
|
||||
# define BOOST_RANDOM_SOURCE
|
||||
#endif
|
||||
|
||||
#include <boost/random/random_device.hpp>
|
||||
#include <boost/config.hpp>
|
||||
|
||||
Reference in New Issue
Block a user