Skip to content

Commit 8fb45f6

Browse files
committed
compilation of C dot net standard 2.0 code
1 parent e6988ec commit 8fb45f6

26 files changed

+890
-831
lines changed

windows/wrapper/impl_org_webRtc_MediaElement.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
#ifndef WINUWP
99
#ifdef _WIN32
10+
#include <WinSock2.h>
1011
#include <Windows.h>
1112
#endif //_WIN32
1213
#endif //ndef WINUWP
@@ -62,7 +63,7 @@ namespace wrapper { namespace impl { namespace org { namespace webRtc {
6263
} } } }
6364

6465
#endif //_WIN32
65-
#endif //WINUWP
66+
#endif //ndef WINUWP
6667

6768
//------------------------------------------------------------------------------
6869
wrapper::impl::org::webRtc::MediaElement::MediaElement() noexcept

windows/wrapper/impl_org_webRtc_MediaSample.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
#ifndef WINUWP
99
#ifdef _WIN32
10+
#include <WinSock2.h>
1011
#include <Windows.h>
1112
#endif //_WIN32
1213
#endif //WINUWP

windows/wrapper/impl_org_webRtc_MediaSource.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ namespace wrapper { namespace impl { namespace org { namespace webRtc {
4545
#endif // CPPWINRT_VERSION
4646

4747
#ifndef WINUWP
48-
48+
#ifdef _WIN32
4949

5050
namespace wrapper { namespace impl { namespace org { namespace webRtc {
5151
ZS_DECLARE_STRUCT_PTR(MediaSourceWrapperAny);
@@ -56,6 +56,7 @@ namespace wrapper { namespace impl { namespace org { namespace webRtc {
5656
};
5757
} } } }
5858

59+
#endif //_WIN32
5960
#endif //ndef WINUWP
6061

6162
//------------------------------------------------------------------------------

0 commit comments

Comments
 (0)