summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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