wslay: Sync with upstream 45d22583b

45d22583b4

Mostly style changes, a couple new methods and fixes.
Tweak file structure a bit.

(cherry picked from commit a706ef3272)
This commit is contained in:
Rémi Verschelde 2021-11-19 13:28:01 +01:00
parent 38c5ba85ab
commit 5c6e39b2a6
No known key found for this signature in database
GPG key ID: C3336907360768E1
15 changed files with 858 additions and 770 deletions

View file

@ -18,12 +18,11 @@ elif env["builtin_wslay"]:
"wslay_net.c",
"wslay_event.c",
"wslay_queue.c",
"wslay_stack.c",
"wslay_frame.c",
]
thirdparty_sources = [thirdparty_dir + s for s in thirdparty_sources]
env_ws.Prepend(CPPPATH=[thirdparty_dir + "includes/"])
env_ws.Prepend(CPPPATH=[thirdparty_dir])
env_ws.Append(CPPDEFINES=["HAVE_CONFIG_H"])
if env["platform"] == "windows" or env["platform"] == "uwp":