Browse Source

Use the correct case for Windows headers.

When cross-compiling for Windows on a Linux system, the filesystem is
case sensitive and so #includes with uppercase characters cause errors.

Change-Id: I6fe6d677887ce84ba8b2c3136cf2c70998d96e81
Reviewed-on: https://boringssl-review.googlesource.com/5060
Reviewed-by: David Benjamin <davidben@chromium.org>
Reviewed-by: Adam Langley <agl@google.com>
kris/onging/CECPQ3_patch15
Adam Langley 9 years ago
parent
commit
2b23eaa478
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      crypto/rand/windows.c
  2. +1
    -1
      crypto/thread_test.c

+ 1
- 1
crypto/rand/windows.c View File

@@ -27,7 +27,7 @@
* "Community Additions" comment on MSDN here:
* http://msdn.microsoft.com/en-us/library/windows/desktop/aa387694.aspx */
#define SystemFunction036 NTAPI SystemFunction036
#include <NTSecAPI.h>
#include <ntsecapi.h>
#undef SystemFunction036

#pragma warning(pop)


+ 1
- 1
crypto/thread_test.c View File

@@ -22,7 +22,7 @@
#if defined(OPENSSL_WINDOWS)

#pragma warning(push, 3)
#include <Windows.h>
#include <windows.h>
#pragma warning(pop)

typedef HANDLE thread_t;


Loading…
Cancel
Save