Skip to content

Commit c182bcf

Browse files
giuliopacijrassi
authored andcommitted
CXX-921 Fix compilation on Debian GNU/kFreeBSD.
Signed-off-by: J. Rassi <rassi@10gen.com>
1 parent 1a17e3d commit c182bcf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/mongo/platform/random.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,8 @@ SecureRandom* SecureRandom::create() {
103103
return new WinSecureRandom();
104104
}
105105

106-
#elif defined(__linux__) || defined(__sunos__) || defined(__APPLE__) || defined(__freebsd__)
106+
#elif defined(__linux__) || defined(__sunos__) || defined(__APPLE__) || defined(__FreeBSD__) || \
107+
defined(__FreeBSD_kernel__)
107108

108109
class InputStreamSecureRandom : public SecureRandom {
109110
public:

0 commit comments

Comments
 (0)