diff options
| author | Carl Hetherington <cth@carlh.net> | 2012-07-21 22:45:18 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2012-07-21 22:45:18 +0100 |
| commit | 9e99813876a6e8d72f81b1fd2cd04c4dc28fb4c5 (patch) | |
| tree | d9e403df7dff35034724e5ac959ad1014c465bcd /asdcplib/src/KM_prng.cpp | |
| parent | 78cb780e8cf266e27b0adf6714b9d23f8fbcd796 (diff) | |
Various tweaks for Windows builds.
Diffstat (limited to 'asdcplib/src/KM_prng.cpp')
| -rwxr-xr-x | asdcplib/src/KM_prng.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/asdcplib/src/KM_prng.cpp b/asdcplib/src/KM_prng.cpp index e7526da1..06b22d91 100755 --- a/asdcplib/src/KM_prng.cpp +++ b/asdcplib/src/KM_prng.cpp @@ -141,11 +141,17 @@ public: memcpy(buf + gen_count, tmp, len - gen_count); } +#ifdef LIBDCP_POSIX if (libdcp_test) { for (unsigned int i = 0; i < len; ++i) buf[i] = rand_r(&m_libdcp_test_rng_state); } +#endif + +#ifdef LIBDCP_WINDOWS + /* XXX */ +#endif } }; |
