Use local type declaration for POSIX standard type only for MS compiler 1119/head
authorStefan Weil <sw@weilnetz.de>
Mon, 18 Jun 2018 12:06:25 +0000 (14:06 +0200)
committerStefan Weil <sw@weilnetz.de>
Mon, 18 Jun 2018 12:48:08 +0000 (14:48 +0200)
commit4aaf52ec8d8ec7b94c73f77f9c0029a3d3cabbf9
tree31c0ace32e476b8b57a7825db72d05802d55c50e
parentfd205f457b157e925e2a6eb03aba397b45b0ed4e
Use local type declaration for POSIX standard type only for MS compiler

ssize_t is a POSIX type which is declared in POSIX include files.
Mingw-w64 provides it also for Windows.

Use the local declaration only with MS compilers.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
src/lib/openjpip/sock_manager.c