2019-07-03 08:52:26 +00:00
|
|
|
diff --git a/thirdparty/wslay/includes/wslay/wslay.h b/thirdparty/wslay/includes/wslay/wslay.h
|
2021-11-19 12:28:01 +00:00
|
|
|
index 77a4e8253f..ac6873613f 100644
|
2019-07-03 08:52:26 +00:00
|
|
|
--- a/thirdparty/wslay/includes/wslay/wslay.h
|
|
|
|
+++ b/thirdparty/wslay/includes/wslay/wslay.h
|
2021-11-19 12:28:01 +00:00
|
|
|
@@ -33,6 +33,13 @@ extern "C" {
|
2019-07-03 08:52:26 +00:00
|
|
|
#include <stdlib.h>
|
|
|
|
#include <sys/types.h>
|
|
|
|
|
|
|
|
+/* GODOT ADDITTION */
|
|
|
|
+#if defined(_MSC_VER)
|
|
|
|
+#include <BaseTsd.h>
|
|
|
|
+typedef SSIZE_T ssize_t;
|
|
|
|
+#endif
|
|
|
|
+/* GODOT END */
|
2021-11-19 12:28:01 +00:00
|
|
|
+
|
2019-07-03 08:52:26 +00:00
|
|
|
/*
|
|
|
|
* wslay/wslayver.h is generated from wslay/wslayver.h.in by
|
2021-11-19 12:28:01 +00:00
|
|
|
* configure. The projects which do not use autotools can set
|