diff options
-rwxr-xr-x | usrsctplib/netinet/sctp_os_userspace.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/usrsctplib/netinet/sctp_os_userspace.h b/usrsctplib/netinet/sctp_os_userspace.h index c4fba935..669b0ed1 100755 --- a/usrsctplib/netinet/sctp_os_userspace.h +++ b/usrsctplib/netinet/sctp_os_userspace.h @@ -840,10 +840,12 @@ sctp_hashfreedestroy(void *vhashtbl, struct malloc_type *type, u_long hashmask); M_ALIGN(m, len); \ } +#if !defined(__Userspace_os_Windows) #define SCTP_SNPRINTF(data, ...) \ if (snprintf(data, __VA_ARGS__) < 0) { \ data[0] = '\0'; \ } +#endif /* We make it so if you have up to 4 threads * writting based on the default size of |