Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

some wrapdb fixes #137

Closed
wants to merge 2 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
don't redefine ssize_t on MinGW
headers already define it. also causes compilation issue on 32-bit.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
neheb committed Nov 18, 2024
commit 82aebb5756d86c61f0017ddde7b47ae0e4749b62
2 changes: 2 additions & 0 deletions test/capture.c
Original file line number Diff line number Diff line change
@@ -11,8 +11,10 @@

#ifdef _WIN32
# include <winsock2.h>
#ifndef __MINGW32__
# include <basetsd.h> /* for SSIZE_T */
typedef SSIZE_T ssize_t;
#endif
#else
# include <sys/socket.h>
# include <unistd.h>