Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
godot
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
community
godot
Commits
9233edd3
Commit
9233edd3
authored
Jul 03, 2019
by
Fabio Alessandrelli
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Godot addition to wslay, fixes MSVC build
parent
aae6c075
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
28 additions
and
0 deletions
+28
-0
README.md
thirdparty/README.md
+5
-0
wslay.h
thirdparty/wslay/includes/wslay/wslay.h
+6
-0
msvcfix.diff
thirdparty/wslay/msvcfix.diff
+17
-0
No files found.
thirdparty/README.md
View file @
9233edd3
...
...
@@ -268,6 +268,11 @@ changes are marked with `// -- GODOT --` comments.
-
Version: 1.1.0
-
License: MIT
File extracted from upstream releaze tarball:
-
All
`*.c`
and
`*.h`
in
`lib/`
and
`lib/includes/`
-
`wslay.h`
has a small Godot addition to fix MSVC build.
See
`thirdparty/wslay/msvcfix.diff`
## mbedtls
...
...
thirdparty/wslay/includes/wslay/wslay.h
View file @
9233edd3
...
...
@@ -33,6 +33,12 @@ extern "C" {
#include <stdlib.h>
#include <sys/types.h>
/* GODOT ADDITTION */
#if defined(_MSC_VER)
#include <BaseTsd.h>
typedef
SSIZE_T
ssize_t
;
#endif
/* GODOT END */
/*
* wslay/wslayver.h is generated from wslay/wslayver.h.in by
...
...
thirdparty/wslay/msvcfix.diff
0 → 100644
View file @
9233edd3
diff --git a/thirdparty/wslay/includes/wslay/wslay.h b/thirdparty/wslay/includes/wslay/wslay.h
index 2fde81a4e..9c751b05b 100644
--- a/thirdparty/wslay/includes/wslay/wslay.h
+++ b/thirdparty/wslay/includes/wslay/wslay.h
@@ -33,6 +33,12 @@ extern "C" {
#include <stdlib.h>
#include <sys/types.h>
+/* GODOT ADDITTION */
+#if defined(_MSC_VER)
+#include <BaseTsd.h>
+typedef SSIZE_T ssize_t;
+#endif
+/* GODOT END */
/*
* wslay/wslayver.h is generated from wslay/wslayver.h.in by
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment