summaryrefslogtreecommitdiff
path: root/src/KM_prng.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/KM_prng.cpp')
-rwxr-xr-xsrc/KM_prng.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/KM_prng.cpp b/src/KM_prng.cpp
index a650eb8..83ca61f 100755
--- a/src/KM_prng.cpp
+++ b/src/KM_prng.cpp
@@ -157,7 +157,7 @@ public:
if (cth_test)
{
-#ifdef __unix__
+#if defined(__unix__) || (defined(__APPLE__) && defined(__MACH__))
for (unsigned int i = 0; i < len; ++i)
buf[i] = rand_r(&m_cth_test_rng_state);
#endif