diff options
Diffstat (limited to 'third_party/usrsctp/BUILD.gn')
-rw-r--r-- | third_party/usrsctp/BUILD.gn | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/third_party/usrsctp/BUILD.gn b/third_party/usrsctp/BUILD.gn index 254adce..45567e2 100644 --- a/third_party/usrsctp/BUILD.gn +++ b/third_party/usrsctp/BUILD.gn @@ -73,13 +73,14 @@ static_library("usrsctp") { "usrsctplib/user_socket.c", "usrsctplib/user_socketvar.h", "usrsctplib/user_uma.h", - "usrsctplib/usrsctp.h" + "usrsctplib/usrsctp.h", ] defines = [ "SCTP_PROCESS_LEVEL_LOCKS", "SCTP_SIMPLE_ALLOCATOR", "__Userspace__", + # "SCTP_DEBUG", # Uncomment for SCTP debugging. ] @@ -108,6 +109,7 @@ static_library("usrsctp") { if (is_win) { defines += [ "__Userspace_os_Windows", + # Manually setting WINVER and _WIN32_WINNT is needed because Chrome # sets WINVER to a newer version of windows. But compiling usrsctp # this way would is incompatible with windows XP. |