Skip to content

Commit

Permalink
Remove local type declaration for standard type (Windows)
Browse files Browse the repository at this point in the history
ssize_t is a standard type which is declared in standard include files.
Remove the local declaration as it conflicts with the standard declaration.

Signed-off-by: Stefan Weil <[email protected]>
  • Loading branch information
stweil committed Jun 18, 2018
1 parent fd205f4 commit 5b72ef1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/lib/openjpip/sock_manager.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@

#ifdef _WIN32
#include <windows.h>
typedef SSIZE_T ssize_t;
#else
#include <sys/types.h>
#include <sys/socket.h>
Expand Down

0 comments on commit 5b72ef1

Please sign in to comment.