diff options
author | Jack Lloyd <[email protected]> | 2017-09-03 08:10:13 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2017-09-03 08:10:13 -0400 |
commit | 20985b242640907de77ea45c7e0b679c3e7ed82e (patch) | |
tree | e4c7ac75806c6e8ef713bc783ee3c05cf8338216 /src/lib/rng | |
parent | 27198fc299a2ea899d723b5fb3c3439e1157c3fb (diff) |
Define macro so windows.h doesn't include winsock.h
Ugh Windows headers y u so nasty.
Diffstat (limited to 'src/lib/rng')
-rw-r--r-- | src/lib/rng/system_rng/system_rng.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/rng/system_rng/system_rng.cpp b/src/lib/rng/system_rng/system_rng.cpp index cafdaac78..9ee306991 100644 --- a/src/lib/rng/system_rng/system_rng.cpp +++ b/src/lib/rng/system_rng/system_rng.cpp @@ -10,6 +10,7 @@ #if defined(BOTAN_TARGET_OS_HAS_CRYPTGENRANDOM) #define NOMINMAX 1 + #define _WINSOCKAPI_ // stop windows.h including winsock.h #include <windows.h> #include <wincrypt.h> |