Skip to content

Commit 3f1d2fb

Browse files
committed
compat: document sockopt_arg_type definition
1 parent fb6db6f commit 3f1d2fb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/compat/compat.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,8 @@ typedef int32_t ssize_t;
8585
#endif
8686
#endif
8787

88+
// The type of the option value passed to getsockopt & setsockopt
89+
// differs between Windows and non-Windows.
8890
#ifndef WIN32
8991
typedef void* sockopt_arg_type;
9092
#else

0 commit comments

Comments
 (0)