From cb9232b3ab413fae7bcc2b94abd70f18ca02b263 Mon Sep 17 00:00:00 2001 From: wxr <wxr@hdlchina.com.cn> Date: 星期二, 03 十二月 2024 11:20:32 +0800 Subject: [PATCH] 增加铃声;增加TCP/UDP连接选择 --- Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/ortp.framework/Headers/port.h | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/ortp.framework/Headers/port.h b/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/ortp.framework/Headers/port.h index 7e2456c..83b9056 100755 --- a/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/ortp.framework/Headers/port.h +++ b/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/ortp.framework/Headers/port.h @@ -40,7 +40,7 @@ #include <stdarg.h> #include <string.h> -#ifdef __linux +#ifdef __linux__ #include <stdint.h> #endif @@ -316,6 +316,7 @@ ORTP_PUBLIC int close_socket(ortp_socket_t sock); ORTP_PUBLIC int set_non_blocking_socket(ortp_socket_t sock); +ORTP_PUBLIC int set_blocking_socket(ortp_socket_t sock); ORTP_PUBLIC char *ortp_strndup(const char *str,int n); #define ortp_strdup_printf bctbx_strdup_printf -- Gitblit v1.8.0