diff options
author | fanquake <fanquake@gmail.com> | 2022-06-28 17:09:45 +0100 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2022-07-20 13:10:12 +0100 |
commit | 3f1d2fb035bf6413c33847326ac5938802cd5860 (patch) | |
tree | e8f5cd4b22aac70191ca7b95c774910f0f4c6634 /src/compat | |
parent | fb6db6fb0eb96f96dc331f565acaa8193f285ab2 (diff) |
compat: document sockopt_arg_type definition
Diffstat (limited to 'src/compat')
-rw-r--r-- | src/compat/compat.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/compat/compat.h b/src/compat/compat.h index be97c6fe0b..633aa6f3b5 100644 --- a/src/compat/compat.h +++ b/src/compat/compat.h @@ -85,6 +85,8 @@ typedef int32_t ssize_t; #endif #endif +// The type of the option value passed to getsockopt & setsockopt +// differs between Windows and non-Windows. #ifndef WIN32 typedef void* sockopt_arg_type; #else |