diff options
| author | Even Rouault <even.rouault@mines-paris.org> | 2018-09-22 22:59:17 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-09-22 22:59:17 +0200 |
| commit | b54c06fb350d318c8e74755710b3480eae3b9911 (patch) | |
| tree | 5372a717c91227a0196a4150cf57804c40d68989 /src/lib | |
| parent | 17bbb0e23ff03bb722914841a9b962b21fe7a310 (diff) | |
| parent | 4aaf52ec8d8ec7b94c73f77f9c0029a3d3cabbf9 (diff) | |
Merge pull request #1119 from stweil/ssize_t
Use local type declaration for POSIX standard type only for MS compiler
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/openjpip/sock_manager.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/openjpip/sock_manager.c b/src/lib/openjpip/sock_manager.c index ec2455e8..a776cedb 100644 --- a/src/lib/openjpip/sock_manager.c +++ b/src/lib/openjpip/sock_manager.c @@ -30,7 +30,9 @@ #ifdef _WIN32 #include <windows.h> +#ifdef _MSC_VER typedef SSIZE_T ssize_t; +#endif #else #include <sys/types.h> #include <sys/socket.h> |
