[Libwebsockets] [libwebsockets] Makes ssize_t windows typedef more appropriate. It should be defined as SSIZE_T. (#37)

"Andy Green (林安廸)" andy at warmcat.com
Sat Dec 14 04:37:18 CET 2013


On 13/12/13 11:01, the mail apparently from James Chen included:
> ------------------------------------------------------------------------
>
>
>         You can merge this Pull Request by running
>
>    git pull https://github.com/dumganhar/libwebsockets ssize_t-patch
>
> Or view, comment on, or merge it at:
>
> https://github.com/warmcat/libwebsockets/pull/37
>
>
>         Commit Summary
>
>   * Makes ssize_t windows typedef more appropriate. It should be defined
>     as SSIZE_T.
>
>
>         File Changes
>
>   * *M* lib/libwebsockets.h
>     <https://github.com/warmcat/libwebsockets/pull/37/files#diff-0> (3)
>
>
>         Patch Links:
>
>   * https://github.com/warmcat/libwebsockets/pull/37.patch
>   * https://github.com/warmcat/libwebsockets/pull/37.diff
>

At first I thought this was some new kind of exotic dependency

+#include <BaseTsd.h>

but googling it, it seems to be normal for msvc for a long while now.

http://git.libwebsockets.org/cgi-bin/cgit/libwebsockets/commit/?id=4ebedc2c30b9fd9f045902b3c85d51bde3a3f0fc

Thanks.

-Andy



More information about the Libwebsockets mailing list