initial commit, 4.5 stable
Some checks failed
🔗 GHA / 📊 Static checks (push) Has been cancelled
🔗 GHA / 🤖 Android (push) Has been cancelled
🔗 GHA / 🍏 iOS (push) Has been cancelled
🔗 GHA / 🐧 Linux (push) Has been cancelled
🔗 GHA / 🍎 macOS (push) Has been cancelled
🔗 GHA / 🏁 Windows (push) Has been cancelled
🔗 GHA / 🌐 Web (push) Has been cancelled
Some checks failed
🔗 GHA / 📊 Static checks (push) Has been cancelled
🔗 GHA / 🤖 Android (push) Has been cancelled
🔗 GHA / 🍏 iOS (push) Has been cancelled
🔗 GHA / 🐧 Linux (push) Has been cancelled
🔗 GHA / 🍎 macOS (push) Has been cancelled
🔗 GHA / 🏁 Windows (push) Has been cancelled
🔗 GHA / 🌐 Web (push) Has been cancelled
This commit is contained in:
16
thirdparty/wslay/patches/0001-msvc-build-fix.patch
vendored
Normal file
16
thirdparty/wslay/patches/0001-msvc-build-fix.patch
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
diff --git a/thirdparty/wslay/wslay/wslay.h b/thirdparty/wslay/wslay/wslay.h
|
||||
index 7ab850111a..7d63bdb2ce 100644
|
||||
--- a/thirdparty/wslay/wslay/wslay.h
|
||||
+++ b/thirdparty/wslay/wslay/wslay.h
|
||||
@@ -33,6 +33,11 @@ extern "C" {
|
||||
#include <stdlib.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
+#if defined(_MSC_VER)
|
||||
+#include <BaseTsd.h>
|
||||
+typedef SSIZE_T ssize_t;
|
||||
+#endif
|
||||
+
|
||||
/*
|
||||
* wslay/wslayver.h is generated from wslay/wslayver.h.in by
|
||||
* configure. The projects which do not use autotools can set
|
Reference in New Issue
Block a user