diff options
author | Jay Krell <jay.krell@cornell.edu> | 2018-06-28 05:53:31 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-28 05:53:31 +0300 |
commit | c28d4dbdd79eaab7cca0ecb7ca508bed3dfc6420 (patch) | |
tree | d6364faa1d8527d6c4d6551f41f5afdfad7b7de5 /msvc/mono.props | |
parent | 0b87a15efa1ffe87e3093b13907bec0090883921 (diff) |
Modernize Windows random number generation. (#9090)
* Modernize Windows random number generation.
- Less code.
- Less chance for failure.
- Not seedable.
- Requires Windows 7 or newer -- er, require Vista or newer until/unless Unity drops it, under ifdef.
This might get much further pruned with CoreFX import, which is on hold here, and doesn't really change much, except to indeed drop Vista support. (https://github.com/mono/mono/pull/9249)
Diffstat (limited to 'msvc/mono.props')
-rw-r--r-- | msvc/mono.props | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/msvc/mono.props b/msvc/mono.props index 4c93b8dc47b..8853136478b 100644 --- a/msvc/mono.props +++ b/msvc/mono.props @@ -122,7 +122,7 @@ <RuntimeLibrary>$(MONO_C_RUNTIME)</RuntimeLibrary> </ClCompile> <Link> - <AdditionalDependencies>Mswsock.lib;ws2_32.lib;ole32.lib;oleaut32.lib;psapi.lib;version.lib;advapi32.lib;winmm.lib;kernel32.lib;%(AdditionalDependencies)</AdditionalDependencies> + <AdditionalDependencies>bcrypt.lib;Mswsock.lib;ws2_32.lib;ole32.lib;oleaut32.lib;psapi.lib;version.lib;advapi32.lib;winmm.lib;kernel32.lib;%(AdditionalDependencies)</AdditionalDependencies> <AdditionalLibraryDirectories>$(MONO_BUILD_DIR_PREFIX)$(Platform)/lib/$(Configuration)</AdditionalLibraryDirectories> </Link> <Lib> |