mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-26 05:52:55 +08:00
fe19c5e411
* [openal-soft] MinGW build fixes * [glew] MinGW build fixes * [protobuf] MinGW build fixes * [protobuf] Update to 3.12.3 * [protobuf] Preserve existing cross-compilation behavior (e.g. android) Co-authored-by: Robert Schumacher <roschuma@microsoft.com> Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
15 lines
323 B
Diff
15 lines
323 B
Diff
diff --git a/common/alstring.h b/common/alstring.h
|
|
index 194e54a1..5a5f87ed 100644
|
|
--- a/common/alstring.h
|
|
+++ b/common/alstring.h
|
|
@@ -4,6 +4,9 @@
|
|
#include <cstddef>
|
|
#include <string>
|
|
|
|
+// This fixes MinGW link errors. It defines strcasecmp and strncasecmp in string.h.
|
|
+#include <string.h>
|
|
+
|
|
#include "almalloc.h"
|
|
|
|
|