]> git.ipfire.org Git - thirdparty/git.git/blobdiff - compat/winansi.c
Merge branch 'bc/csprng-mktemps'
[thirdparty/git.git] / compat / winansi.c
index 4fceecf14ce599b585801bcb1ebc0b4e2c22af06..936a80a5f007d4d6e764f6dc68d649ea1e72094e 100644 (file)
@@ -3,6 +3,12 @@
  */
 
 #undef NOGDI
+
+/*
+ * Including the appropriate header file for RtlGenRandom causes MSVC to see a
+ * redefinition of types in an incompatible way when including headers below.
+ */
+#undef HAVE_RTLGENRANDOM
 #include "../git-compat-util.h"
 #include <wingdi.h>
 #include <winreg.h>