Skip to content
Snippets Groups Projects
Commit 158e804c authored by Andy Green's avatar Andy Green
Browse files

refactor out WIN32 tests from code


This gets rid of all the platform-dependent #ifdef stuff and
migrates it into the new lws-plat-xxx.c files.

These are then included in a one-time test in libwebsockets.c
according basically to Windows or not.

The idea is from now on, all Windows-specific code should go in
lws-plat-win.c, where any kind of Windows perversion like DWORD
is fine.

Any new functions going in there should be named lws_plat_...
and be defined in all the lws-plat-xxx.c file (currently just
win32 and unix platforms are supported).

Signed-off-by: default avatarAndy Green <andy.green@linaro.org>
parent 03cf1dde
No related branches found
Tags 16.24.0-rc1
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment