mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
SRT: Upgrade libsrt from 1.4.1 to 1.5.1. v6.0.12 (#3362)
Co-authored-by: winlin <winlin@vip.126.com>
This commit is contained in:
parent
7a56208f2f
commit
fe086dfc31
143 changed files with 38185 additions and 15108 deletions
|
@ -1,5 +1,5 @@
|
|||
#ifndef INC__WIN_WINTIME
|
||||
#define INC__WIN_WINTIME
|
||||
#ifndef INC_SRT_WIN_WINTIME
|
||||
#define INC_SRT_WIN_WINTIME
|
||||
|
||||
#include <winsock2.h>
|
||||
#include <windows.h>
|
||||
|
@ -7,7 +7,6 @@
|
|||
// where pthread.h, which defines _POSIX_THREAD_SAFE_FUNCTIONS,
|
||||
// has to be included before time.h so that time.h defines
|
||||
// localtime_r correctly
|
||||
#include <pthread.h>
|
||||
#include <time.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
@ -53,4 +52,4 @@ SRTCOMPAT_WINTIME_STATIC_INLINE_DECL int gettimeofday(
|
|||
}
|
||||
#endif
|
||||
|
||||
#endif // INC__WIN_WINTIME
|
||||
#endif // INC_SRT_WIN_WINTIME
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue