diff options
| author | Saleem Abdulrasool <compnerd@compnerd.org> | 2016-12-31 00:00:21 +0000 |
|---|---|---|
| committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2016-12-31 00:00:21 +0000 |
| commit | 4a12eab82829e762a9a424126bf21429f5ba1b12 (patch) | |
| tree | 0528a85efece63a90555bd8e84d733e485e6105e /libcxx | |
| parent | 991636312b34d50506284dde1616deb8c7e6e242 (diff) | |
| download | bcm5719-llvm-4a12eab82829e762a9a424126bf21429f5ba1b12.tar.gz bcm5719-llvm-4a12eab82829e762a9a424126bf21429f5ba1b12.zip | |
random: include __config before building
We need to include __config to ensure that we know what random
implementation is being used. Fixes compilation for Windows.
llvm-svn: 290775
Diffstat (limited to 'libcxx')
| -rw-r--r-- | libcxx/src/random.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libcxx/src/random.cpp b/libcxx/src/random.cpp index 4ab424eaa6e..eb2510a48c8 100644 --- a/libcxx/src/random.cpp +++ b/libcxx/src/random.cpp @@ -7,6 +7,8 @@ // //===----------------------------------------------------------------------===// +#include <__config> + #if defined(_LIBCPP_USING_WIN32_RANDOM) // Must be defined before including stdlib.h to enable rand_s(). #define _CRT_RAND_S |

