File tree Expand file tree Collapse file tree 2 files changed +12
-12
lines changed Expand file tree Collapse file tree 2 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ class _LIBCPP_TYPE_VIS random_device
27
27
{
28
28
#ifdef _LIBCPP_USING_DEV_RANDOM
29
29
int __f_;
30
- #endif // defined(_LIBCPP_USING_DEV_RANDOM)
30
+ #endif
31
31
public:
32
32
// types
33
33
typedef unsigned result_type;
Original file line number Diff line number Diff line change 9
9
#include < __config>
10
10
11
11
#if defined(_LIBCPP_USING_WIN32_RANDOM)
12
- // Must be defined before including stdlib.h to enable rand_s().
13
- #define _CRT_RAND_S
12
+ // Must be defined before including stdlib.h to enable rand_s().
13
+ # define _CRT_RAND_S
14
14
#endif // defined(_LIBCPP_USING_WIN32_RANDOM)
15
15
16
16
#include " limits"
17
17
#include " random"
18
18
#include " system_error"
19
19
20
20
#if defined(__sun__)
21
- #define rename solaris_headers_are_broken
21
+ # define rename solaris_headers_are_broken
22
22
#endif // defined(__sun__)
23
23
24
24
#include < errno.h>
25
25
#include < stdio.h>
26
26
#include < stdlib.h>
27
27
28
28
#if defined(_LIBCPP_USING_GETENTROPY)
29
- #include < sys/random.h>
29
+ # include < sys/random.h>
30
30
#elif defined(_LIBCPP_USING_DEV_RANDOM)
31
- #include < fcntl.h>
32
- #include < unistd.h>
33
- #if __has_include(<sys/ioctl.h>) && __has_include(<linux/random.h>)
34
- #include < sys/ioctl.h>
35
- #include < linux/random.h>
36
- #endif
31
+ # include < fcntl.h>
32
+ # include < unistd.h>
33
+ # if __has_include(<sys/ioctl.h>) && __has_include(<linux/random.h>)
34
+ # include < sys/ioctl.h>
35
+ # include < linux/random.h>
36
+ # endif
37
37
#elif defined(_LIBCPP_USING_NACL_RANDOM)
38
- #include < nacl/nacl_random.h>
38
+ # include < nacl/nacl_random.h>
39
39
#endif
40
40
41
41
You can’t perform that action at this time.
0 commit comments