diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2020-05-19 10:38:43 +0100 |
---|---|---|
committer | Edward Thomson <ethomson@edwardthomson.com> | 2020-06-05 07:14:26 +0100 |
commit | 05c336bad8ef017bee1094ce561a5e07f97fe8ee (patch) | |
tree | d70eaf96972f4ac91f38ac530a91d34b6ddb26e5 | |
parent | d28e443fa4137342e1e4a10ec92bb12329890b2d (diff) | |
download | libgit2-05c336bad8ef017bee1094ce561a5e07f97fe8ee.tar.gz |
mingw: define DWORD_MAXethomson/cli
-rw-r--r-- | src/util/win32/mingw-compat.h | 4 |
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 |