mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
refine code by winlin, for merged from allspace.
This commit is contained in:
parent
1855c9429c
commit
18c308248e
11 changed files with 416 additions and 539 deletions
|
@ -30,11 +30,9 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||
|
||||
#include <srs_core.hpp>
|
||||
|
||||
// success, ok
|
||||
#if !defined(_WIN32) || defined(__CYGWIN__) //avoid redefine error on Windows
|
||||
// for srs-librtmp, @see https://github.com/winlinvip/simple-rtmp-server/issues/213
|
||||
#ifndef _WIN32
|
||||
#define ERROR_SUCCESS 0
|
||||
#else
|
||||
#include <windows.h>
|
||||
#endif
|
||||
|
||||
///////////////////////////////////////////////////////
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue