msvcfix.diff 552 B

12345678910111213141516171819
  1. diff --git a/thirdparty/wslay/includes/wslay/wslay.h b/thirdparty/wslay/includes/wslay/wslay.h
  2. index 77a4e8253f..ac6873613f 100644
  3. --- a/thirdparty/wslay/includes/wslay/wslay.h
  4. +++ b/thirdparty/wslay/includes/wslay/wslay.h
  5. @@ -33,6 +33,13 @@ extern "C" {
  6. #include <stdlib.h>
  7. #include <sys/types.h>
  8. +/* GODOT ADDITTION */
  9. +#if defined(_MSC_VER)
  10. +#include <BaseTsd.h>
  11. +typedef SSIZE_T ssize_t;
  12. +#endif
  13. +/* GODOT END */
  14. +
  15. /*
  16. * wslay/wslayver.h is generated from wslay/wslayver.h.in by
  17. * configure. The projects which do not use autotools can set