aboutsummaryrefslogtreecommitdiff
path: root/src/StormLib.h
diff options
context:
space:
mode:
authorLadislav Zezula <zezula@volny.cz>2023-09-23 01:08:58 +0200
committerLadislav Zezula <zezula@volny.cz>2023-09-23 01:08:58 +0200
commitcb56fff1a5aa1fd3b69c92c38dd07aec4ae28dec (patch)
treee9655958d759e8b8b1aa2258d5c6f3d917b40845 /src/StormLib.h
parent8debce7eab1cfb7a145d592d757b75e7cac83610 (diff)
StormLib will not make Warcraft III maps larger than 2GB
Diffstat (limited to 'src/StormLib.h')
-rw-r--r--src/StormLib.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/StormLib.h b/src/StormLib.h
index 4d5992d..0bab24e 100644
--- a/src/StormLib.h
+++ b/src/StormLib.h
@@ -403,6 +403,10 @@ extern "C" {
#define SHA1_DIGEST_SIZE 0x14 // 160 bits
#endif
+#ifndef SHA256_DIGEST_SIZE
+#define SHA256_DIGEST_SIZE 0x20 // 256 bits
+#endif
+
#ifndef LANG_NEUTRAL
#define LANG_NEUTRAL 0x00 // Neutral locale
#endif