mingw: use lowercase includes for some Windows headers
When cross-compiling with the mingw toolchain on a system with a case sensitive filesystem, the mixed case (which is technically correct as per the contents of MS Visual C++) doesn't work (the corresponding mingw headers are all lowercase for some reason). Signed-off-by: Mike Hommey <mh@glandium.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
fe86abd751
commit
4a53d0d0bc
@ -3,8 +3,8 @@
|
|||||||
#include "../../repository.h"
|
#include "../../repository.h"
|
||||||
#include "../../trace2.h"
|
#include "../../trace2.h"
|
||||||
#include "lazyload.h"
|
#include "lazyload.h"
|
||||||
#include <Psapi.h>
|
#include <psapi.h>
|
||||||
#include <tlHelp32.h>
|
#include <tlhelp32.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* An arbitrarily chosen value to limit the size of the ancestor
|
* An arbitrarily chosen value to limit the size of the ancestor
|
||||||
|
@ -17,7 +17,7 @@ static intmax_t count_fsync_hardware_flush;
|
|||||||
#ifdef HAVE_RTLGENRANDOM
|
#ifdef HAVE_RTLGENRANDOM
|
||||||
/* This is required to get access to RtlGenRandom. */
|
/* This is required to get access to RtlGenRandom. */
|
||||||
#define SystemFunction036 NTAPI SystemFunction036
|
#define SystemFunction036 NTAPI SystemFunction036
|
||||||
#include <NTSecAPI.h>
|
#include <ntsecapi.h>
|
||||||
#undef SystemFunction036
|
#undef SystemFunction036
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user