aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/stream_executor/rng.cc
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/stream_executor/rng.cc')
-rw-r--r--tensorflow/stream_executor/rng.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/stream_executor/rng.cc b/tensorflow/stream_executor/rng.cc
index 08f91584bf..1c05005067 100644
--- a/tensorflow/stream_executor/rng.cc
+++ b/tensorflow/stream_executor/rng.cc
@@ -41,7 +41,7 @@ bool RngSupport::CheckSeed(const uint8 *seed, uint64 seed_bytes) {
return true;
}
-#if defined(__APPLE__)
+#if defined(__APPLE__) || defined(__FreeBSD__)
const int RngSupport::kMinSeedBytes;
const int RngSupport::kMaxSeedBytes;
#endif