aboutsummaryrefslogtreecommitdiff
path: root/src/compat
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2022-06-28 17:09:45 +0100
committerfanquake <fanquake@gmail.com>2022-07-20 13:10:12 +0100
commit3f1d2fb035bf6413c33847326ac5938802cd5860 (patch)
treee8f5cd4b22aac70191ca7b95c774910f0f4c6634 /src/compat
parentfb6db6fb0eb96f96dc331f565acaa8193f285ab2 (diff)
compat: document sockopt_arg_type definition
Diffstat (limited to 'src/compat')
-rw-r--r--src/compat/compat.h2
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