1 | --- libs/random/random_device.cpp.orig Tue Jul 18 12:48:49 2006
|
---|
2 | +++ libs/random/random_device.cpp Tue Jul 18 12:49:59 2006
|
---|
3 | @@ -22,7 +22,7 @@
|
---|
4 | #endif
|
---|
5 |
|
---|
6 |
|
---|
7 | -#ifdef __linux__
|
---|
8 | +#if defined(__linux__) || defined (__FreeBSD__)
|
---|
9 |
|
---|
10 | // the default is the unlimited capacity device, using some secure hash
|
---|
11 | // try "/dev/random" for blocking when the entropy pool has drained
|
---|
12 | @@ -90,7 +90,7 @@
|
---|
13 | int fd;
|
---|
14 | };
|
---|
15 |
|
---|
16 | -#endif // __linux__
|
---|
17 | +#endif // __linux__ || __FreeBSD__
|
---|
18 |
|
---|
19 |
|
---|
20 | boost::random_device::random_device(const std::string& token)
|
---|