summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2020-05-19 10:38:43 +0100
committerEdward Thomson <ethomson@edwardthomson.com>2020-06-05 07:14:26 +0100
commit05c336bad8ef017bee1094ce561a5e07f97fe8ee (patch)
treed70eaf96972f4ac91f38ac530a91d34b6ddb26e5
parentd28e443fa4137342e1e4a10ec92bb12329890b2d (diff)
downloadlibgit2-ethomson/cli.tar.gz
mingw: define DWORD_MAXethomson/cli
-rw-r--r--src/util/win32/mingw-compat.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/util/win32/mingw-compat.h b/src/util/win32/mingw-compat.h
index aa2bef98d..c1d98cd5c 100644
--- a/src/util/win32/mingw-compat.h
+++ b/src/util/win32/mingw-compat.h
@@ -18,6 +18,10 @@ void __mingworg_MemoryBarrier(void);
#define VOLUME_NAME_DOS 0x0
#endif
+#ifndef DWORD_MAX
+# define DWORD_MAX UINT32_MAX
+#endif
+
#endif
#endif