boringssl/crypto/rand
David Benjamin a353cdb671 Wrap MSVC-only warning pragmas in a macro.
There's a __pragma expression which allows this. Android builds us Windows with
MinGW for some reason, so we actually do have to tolerate non-MSVC-compatible
Windows compilers. (Clang for Windows is much more sensible than MinGW and
intentionally mimicks MSVC.)

MinGW doesn't understand MSVC's pragmas and warns a lot. #pragma warning is
safe to suppress, so wrap those to shush them. This also lets us do away with a
few ifdefs.

Change-Id: I1f5a8bec4940d4b2d947c4c1cc9341bc15ec4972
Reviewed-on: https://boringssl-review.googlesource.com/8236
Reviewed-by: Adam Langley <agl@google.com>
2016-06-09 21:29:36 +00:00
..
asm Add missing comma in .type pragma for rdrand code. 2015-06-23 15:01:45 -07:00
CMakeLists.txt Add a deterministic PRNG for fuzzing. 2016-03-03 01:36:19 +00:00
deterministic.c Add a deterministic PRNG for fuzzing. 2016-03-03 01:36:19 +00:00
internal.h Merge hwrand.c into rand.c. 2015-09-25 22:07:42 +00:00
rand.c Add a deterministic PRNG for fuzzing. 2016-03-03 01:36:19 +00:00
urandom.c Split unlock functions into read/write variants. 2016-05-31 21:09:29 +00:00
windows.c Wrap MSVC-only warning pragmas in a macro. 2016-06-09 21:29:36 +00:00