ssize_t needs help on windows
authorDavid Brooks <dave@bcs.co.nz>
Tue, 1 May 2012 22:02:45 +0000 (06:02 +0800)
committerAndy Green <andy.green@linaro.org>
Tue, 1 May 2012 22:02:45 +0000 (06:02 +0800)
commit06fbcee7033227b9aa0ce5b2fec3a667feedfb3c
tree11f27c699021253c8d5c87e9fdef5582ac367f8a
parent2c60d9584e7c7944dc7ff96e039df8bb6847dff5
ssize_t needs help on windows

ssize_t is needed, but absent in Windows.

This patch typedefs it to an int in that case as recommended by Tobias.

Signed-off-by: Andy Green <andy@warmcat.com>
Signed-off-by: David Brooks <dave@bcs.co.nz>
Signed-off-by: Tobias Maier <tobias.maier@netplace.com>
Reported-by: Rich Gossweiler <rich.gossweiler@gmail.com>
lib/libwebsockets.h