canonical libwebsockets.org websocket library
Find a file
Peter Hinz 56885f3084 introduce win32 build capability
This adds win32 build compatability to libwebsockets.

The patch is from Peter Hinz, Andy Green has cleaned it up a bit and
possibly broken win32 compatability since I can't test it, so there
may be followup patches.  It compiles fine under Linux after this
patch anyway.

Much of the patch is changing a reserved keyword for Visual C compiler
"this" to "context", but there is no real C99 support in the MSFT
compiler even though it is 2011 so C99 style array declarations
have been mangled back into "ancient C" style.

Some windows-isms are also added like closesocket() but these are
quite localized.  Win32 random is just using C library random() call
at the moment vs Linux /dev/urandom.  canonical hostname detection is
broken in win32 at the moment.

Signed-off-by: Peter Hinz <cerebusrc@gmail.com>
Signed-off-by: Andy Green <andy@warmcat.com>
2011-03-02 22:03:47 +00:00
lib introduce win32 build capability 2011-03-02 22:03:47 +00:00
scripts refactor-into-dirs.patch 2010-11-01 09:12:17 +00:00
test-server introduce win32 build capability 2011-03-02 22:03:47 +00:00
win32port introduce win32 build capability 2011-03-02 22:03:47 +00:00
aclocal.m4 fork-sever-process-and-introduce-broadcast-api.patch 2010-12-18 15:13:50 +00:00
config.guess remove symlinks-from-automake-missing 2010-11-10 11:57:07 +00:00
config.h.in convert-to-autotools.patch 2010-11-08 17:04:09 +00:00
config.sub remove symlinks-from-automake-missing 2010-11-10 11:57:07 +00:00
configure introduce-test-ping-app.patch 2011-01-27 20:06:03 +00:00
configure.ac introduce-test-ping-app.patch 2011-01-27 20:06:03 +00:00
COPYING add-COPYING-lgpl-2.1.patch 2010-11-08 17:12:19 +00:00
depcomp remove symlinks-from-automake-missing 2010-11-10 11:57:07 +00:00
INSTALL add-INSTALL.patch 2010-11-12 13:11:50 +00:00
install-sh remove symlinks-from-automake-missing 2010-11-10 11:57:07 +00:00
libwebsockets-api-doc.html introduce win32 build capability 2011-03-02 22:03:47 +00:00
libwebsockets.spec uplevel-rpm-spec-to-include-new-extpoll-sample.patch 2011-02-13 09:08:11 +00:00
ltmain.sh fork-sever-process-and-introduce-broadcast-api.patch 2010-12-18 15:13:50 +00:00
Makefile.am introduce-ssl-client-connections--flow-control.patch 2011-01-27 06:26:52 +00:00
Makefile.in introduce-ssl-client-connections--flow-control.patch 2011-01-27 06:26:52 +00:00
missing remove symlinks-from-automake-missing 2010-11-10 11:57:07 +00:00
README-test-server update README with known good OSX configure 2011-02-28 07:48:27 +00:00