[Libwebsockets] [libwebsockets] Fix compilation on Windows. (#62)
"Andy Green (林安廸)"
andy at warmcat.com
Wed Feb 19 01:40:48 CET 2014
On 18/02/14 20:40, the mail apparently from JoakimSoderberg included:
> C89 which Microsofts compiler only support does not allow variable
> declarations anywhere but at the start of a scope.
Thanks... I missed it in the contributed patch; it built OK here.
> Also, only try to copy the test-server files if they actually exists. For
> instance the OpenSSL cert generation fails if you run cmake under the git
> bash shell on Windows (won't work with the unix method either) so that
> file will be missing... This would result in a compilation error when
> tests where turned on.
> This also fixes #59
> You can merge this Pull Request by running:
> git pull https://github.com/JoakimSoderberg/libwebsockets win_compilation
> Or you can view, comment on it, or merge it online at:
> -- Commit Summary --
> * Fix compilation on Windows.
> -- File Changes --
> M CMakeLists.txt (27)
> M lib/libwebsockets.c (3)
> -- Patch Links --
> Reply to this email directly or view it on GitHub:
More information about the Libwebsockets