summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Common/Sizes.hpp11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/Common/Sizes.hpp b/src/Common/Sizes.hpp
index de49d3d..036c98b 100644
--- a/src/Common/Sizes.hpp
+++ b/src/Common/Sizes.hpp
@@ -44,4 +44,13 @@ ASSERT_SIZE(U64, 8);
 ASSERT_SIZE(F32, 4);
 ASSERT_SIZE(F64, 8);
 
-ASSERT_SIZE(Bool, 1);
\ No newline at end of file
+ASSERT_SIZE(Bool, 1);
+
+// MinGW doesn't define uint that I like to use
+// in template definitions, so we need to define it here.
+
+#ifdef __MINGW32__
+
+#define uint uint32_t
+
+#endif