Loading third_party/libwebrtc/modules/audio_coding/codecs/isac/main/source/os_specific_inline.h +1 −1 Original line number Diff line number Diff line Loading @@ -15,7 +15,7 @@ #include "rtc_base/system/arch.h" #if defined(WEBRTC_POSIX) #if (defined(WEBRTC_POSIX) || defined(__MINGW32__)) #define WebRtcIsac_lrint lrint #elif (defined(WEBRTC_ARCH_X86) && defined(WIN32)) static __inline long int WebRtcIsac_lrint(double x_dbl) { Loading third_party/libwebrtc/modules/desktop_capture/desktop_capture_types.h +10 −3 Original line number Diff line number Diff line Loading @@ -16,9 +16,16 @@ #endif #include <stdint.h> #ifdef XP_WIN // Moving this into the global namespace typedef int pid_t; // matching what used to be in #endif // video_capture_defines.h // Use int on all clang-cl builds and x86 mingw builds. // Use long long on Windows x64 building under MinGW // Must be consistent with the same typedefs in video_capture_defines.h #if defined(XP_WIN) #if defined(_MSC_VER) || !defined(_WIN64) typedef int pid_t; #else typedef long long pid_t; #endif #endif namespace webrtc { Loading third_party/libwebrtc/modules/video_capture/video_capture_defines.h +11 −0 Original line number Diff line number Diff line Loading @@ -14,6 +14,17 @@ #include "api/video/video_frame.h" #include "common_video/libyuv/include/webrtc_libyuv.h" // Use int on all clang-cl builds and x86 mingw builds. // Use long long on Windows x64 building under MinGW // Must be consistent with the same typedefs in desktop_capture_types.h #if defined(XP_WIN) #if defined(_MSC_VER) || !defined(_WIN64) typedef int pid_t; #else typedef long long pid_t; #endif #endif namespace webrtc { enum { Loading third_party/libwebrtc/modules/video_capture/windows/device_info_ds.h +1 −1 Original line number Diff line number Diff line Loading @@ -12,7 +12,7 @@ #define MODULES_VIDEO_CAPTURE_MAIN_SOURCE_WINDOWS_DEVICE_INFO_DS_H_ #include <dshow.h> #include <Ks.h> #include <ks.h> #include <dbt.h> #include "modules/video_capture/device_info_impl.h" Loading third_party/libwebrtc/rtc_base/platform_thread_types.cc +3 −0 Original line number Diff line number Diff line Loading @@ -88,6 +88,8 @@ void SetCurrentThreadName(const char* name) { set_thread_description_func(::GetCurrentThread(), wide_thread_name); } #if defined(_MSC_VER) // SEH is only impelmented for the MSVC compiler // For details see: // https://docs.microsoft.com/en-us/visualstudio/debugger/how-to-set-a-thread-name-in-native-code #pragma pack(push, 8) Loading @@ -107,6 +109,7 @@ void SetCurrentThreadName(const char* name) { } __except (EXCEPTION_EXECUTE_HANDLER) { // NOLINT } #pragma warning(pop) #endif // _MSC_VER #elif defined(WEBRTC_LINUX) || defined(WEBRTC_ANDROID) prctl(PR_SET_NAME, reinterpret_cast<unsigned long>(name)); // NOLINT #elif defined(WEBRTC_MAC) || defined(WEBRTC_IOS) Loading Loading
third_party/libwebrtc/modules/audio_coding/codecs/isac/main/source/os_specific_inline.h +1 −1 Original line number Diff line number Diff line Loading @@ -15,7 +15,7 @@ #include "rtc_base/system/arch.h" #if defined(WEBRTC_POSIX) #if (defined(WEBRTC_POSIX) || defined(__MINGW32__)) #define WebRtcIsac_lrint lrint #elif (defined(WEBRTC_ARCH_X86) && defined(WIN32)) static __inline long int WebRtcIsac_lrint(double x_dbl) { Loading
third_party/libwebrtc/modules/desktop_capture/desktop_capture_types.h +10 −3 Original line number Diff line number Diff line Loading @@ -16,9 +16,16 @@ #endif #include <stdint.h> #ifdef XP_WIN // Moving this into the global namespace typedef int pid_t; // matching what used to be in #endif // video_capture_defines.h // Use int on all clang-cl builds and x86 mingw builds. // Use long long on Windows x64 building under MinGW // Must be consistent with the same typedefs in video_capture_defines.h #if defined(XP_WIN) #if defined(_MSC_VER) || !defined(_WIN64) typedef int pid_t; #else typedef long long pid_t; #endif #endif namespace webrtc { Loading
third_party/libwebrtc/modules/video_capture/video_capture_defines.h +11 −0 Original line number Diff line number Diff line Loading @@ -14,6 +14,17 @@ #include "api/video/video_frame.h" #include "common_video/libyuv/include/webrtc_libyuv.h" // Use int on all clang-cl builds and x86 mingw builds. // Use long long on Windows x64 building under MinGW // Must be consistent with the same typedefs in desktop_capture_types.h #if defined(XP_WIN) #if defined(_MSC_VER) || !defined(_WIN64) typedef int pid_t; #else typedef long long pid_t; #endif #endif namespace webrtc { enum { Loading
third_party/libwebrtc/modules/video_capture/windows/device_info_ds.h +1 −1 Original line number Diff line number Diff line Loading @@ -12,7 +12,7 @@ #define MODULES_VIDEO_CAPTURE_MAIN_SOURCE_WINDOWS_DEVICE_INFO_DS_H_ #include <dshow.h> #include <Ks.h> #include <ks.h> #include <dbt.h> #include "modules/video_capture/device_info_impl.h" Loading
third_party/libwebrtc/rtc_base/platform_thread_types.cc +3 −0 Original line number Diff line number Diff line Loading @@ -88,6 +88,8 @@ void SetCurrentThreadName(const char* name) { set_thread_description_func(::GetCurrentThread(), wide_thread_name); } #if defined(_MSC_VER) // SEH is only impelmented for the MSVC compiler // For details see: // https://docs.microsoft.com/en-us/visualstudio/debugger/how-to-set-a-thread-name-in-native-code #pragma pack(push, 8) Loading @@ -107,6 +109,7 @@ void SetCurrentThreadName(const char* name) { } __except (EXCEPTION_EXECUTE_HANDLER) { // NOLINT } #pragma warning(pop) #endif // _MSC_VER #elif defined(WEBRTC_LINUX) || defined(WEBRTC_ANDROID) prctl(PR_SET_NAME, reinterpret_cast<unsigned long>(name)); // NOLINT #elif defined(WEBRTC_MAC) || defined(WEBRTC_IOS) Loading