From 3f1d2fb035bf6413c33847326ac5938802cd5860 Mon Sep 17 00:00:00 2001 From: fanquake Date: Tue, 28 Jun 2022 17:09:45 +0100 Subject: [PATCH] compat: document sockopt_arg_type definition --- src/compat/compat.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/compat/compat.h b/src/compat/compat.h index be97c6fe0b7..633aa6f3b57 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