diff options
author | Basilisk-Dev <basiliskdev@protonmail.com> | 2023-08-31 08:44:34 -0400 |
---|---|---|
committer | Basilisk-Dev <basiliskdev@protonmail.com> | 2023-08-31 08:44:34 -0400 |
commit | a15cbf9256e174e912d9fa1bbfa9f1b6579ffb7e (patch) | |
tree | f2d45469830a0e72287710a7fe2df3acd2064a85 /media/mtransport/test | |
parent | ebf4f559e08bd55a92753ddf64d49ab151396fb1 (diff) | |
download | uxp-a15cbf9256e174e912d9fa1bbfa9f1b6579ffb7e.tar.gz |
Issue #2058 - apply additional patches from dbsoft for OS defines
Diffstat (limited to 'media/mtransport/test')
-rw-r--r-- | media/mtransport/test/sctp_unittest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/media/mtransport/test/sctp_unittest.cpp b/media/mtransport/test/sctp_unittest.cpp index 2dbfc9c03d..267f199d12 100644 --- a/media/mtransport/test/sctp_unittest.cpp +++ b/media/mtransport/test/sctp_unittest.cpp @@ -97,7 +97,7 @@ class TransportTestPeer : public sigslot::has_slots<> { memset(&local_addr_, 0, sizeof(local_addr_)); local_addr_.sconn_family = AF_CONN; -#if !defined(__Userspace_os_Linux) && !defined(__Userspace_os_Windows) && !defined(__Userspace_os_Android) +#if !defined(__linux__) && !defined(_WIN32) && !defined(__ANDROID__) local_addr_.sconn_len = sizeof(struct sockaddr_conn); #endif local_addr_.sconn_port = htons(local_port); @@ -106,7 +106,7 @@ class TransportTestPeer : public sigslot::has_slots<> { memset(&remote_addr_, 0, sizeof(remote_addr_)); remote_addr_.sconn_family = AF_CONN; -#if !defined(__Userspace_os_Linux) && !defined(__Userspace_os_Windows) && !defined(__Userspace_os_Android) +#if !defined(__linux__) && !defined(_WIN32) && !defined(__ANDROID__) remote_addr_.sconn_len = sizeof(struct sockaddr_conn); #endif remote_addr_.sconn_port = htons(remote_port); |