diff options
| author | Erwan BERNARD <edmBernard@users.noreply.github.com> | 2018-10-09 09:44:45 +0200 |
|---|---|---|
| committer | Robert Schumacher <roschuma@microsoft.com> | 2018-10-09 00:44:45 -0700 |
| commit | 9e0a9c43474722f0d57de9ad40e699b072cf2971 (patch) | |
| tree | c296922d123b03a68a4141a2f6a18812634546e1 | |
| parent | 59f88c7b109438bf08f20d50b10f107592b14079 (diff) | |
| download | vcpkg-9e0a9c43474722f0d57de9ad40e699b072cf2971.tar.gz vcpkg-9e0a9c43474722f0d57de9ad40e699b072cf2971.zip | |
[live555] fix linux build : invalid conversion socklen_t (#4403)
| -rw-r--r-- | ports/live555/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ports/live555/CMakeLists.txt b/ports/live555/CMakeLists.txt index 8be171fc2..9d126cda1 100644 --- a/ports/live555/CMakeLists.txt +++ b/ports/live555/CMakeLists.txt @@ -8,6 +8,10 @@ include_directories( UsageEnvironment/include ) +if (NOT MSVC) + add_compile_options(-DSOCKLEN_T=socklen_t) +endif() + file(GLOB BASIC_USAGE_ENVIRONMENT_SRCS BasicUsageEnvironment/*.c BasicUsageEnvironment/*.cpp) add_library(BasicUsageEnvironment ${BASIC_USAGE_ENVIRONMENT_SRCS}) |
