diff options
author | Thomas Snider <tjps636@gmail.com> | 2018-01-26 02:48:56 -0800 |
---|---|---|
committer | Thomas Snider <tjps636@gmail.com> | 2018-04-16 13:24:14 -0700 |
commit | 2c084a6609bed24979c2a144743007f8b10a5c70 (patch) | |
tree | df9527a3ce02aa01c5d55fd6b660ead4698e954b /src/compat.h | |
parent | 07825088f9cfd8abece774b9d978c36ab90ce3d1 (diff) |
net: Minor accumulated cleanups
Diffstat (limited to 'src/compat.h')
-rw-r--r-- | src/compat.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/compat.h b/src/compat.h index 8a0f901304..920b3f776d 100644 --- a/src/compat.h +++ b/src/compat.h @@ -96,6 +96,12 @@ typedef int32_t ssize_t; size_t strnlen( const char *start, size_t max_len); #endif // HAVE_DECL_STRNLEN +#ifndef WIN32 +typedef void* sockopt_arg_type; +#else +typedef char* sockopt_arg_type; +#endif + bool static inline IsSelectableSocket(const SOCKET& s) { #ifdef WIN32 return true; |