Use native file functions on Windows
authorPatrick Gansterer <paroga@paroga.com>
Thu, 27 Feb 2014 02:21:50 +0000 (03:21 +0100)
committerAndy Green <andy.green@linaro.org>
Thu, 27 Feb 2014 13:20:36 +0000 (21:20 +0800)
commit81338aa8861bf91d720f541abde8ed207d6a2d7b
tree5e3901c1f8d77914e9712f39c2413f9ad94dd0b0
parent3ef96e809575204877639ae949f81c7293ea68c2
Use native file functions on Windows

Add a special implementation with CreateFile(), ReadFile() and CloseFile()
for serving HTTP file request to allow compilation on all Windows platforms.
lib/handshake.c
lib/libwebsockets.c
lib/output.c
lib/private-libwebsockets.h
lib/server.c