wslay: Sync with upstream 45d22583b

45d22583b4

Mostly style changes, a couple new methods and fixes.
Tweak file structure a bit.
This commit is contained in:
Rémi Verschelde
2021-11-19 13:28:01 +01:00
parent 42f8bfaff0
commit a706ef3272
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":