1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

try to build srs-librtmp on vs2010, failed.

This commit is contained in:
winlin 2014-11-27 18:20:13 +08:00
parent 904a06cadf
commit eb4e7aad69
6 changed files with 214 additions and 112 deletions

View file

@ -72,6 +72,11 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#define __STDC_FORMAT_MACROS
#endif
// for srs-librtmp, @see https://github.com/winlinvip/simple-rtmp-server/issues/213
#if defined(_WIN32)
#include <windows.h>
#endif
// for srs-librtmp, @see https://github.com/winlinvip/simple-rtmp-server/issues/213
#ifndef _WIN32
#include <inttypes.h>

View file

@ -24,11 +24,6 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#ifndef SRS_WIN_PORTING_H
#define SRS_WIN_PORTING_H
// for srs-librtmp, @see https://github.com/winlinvip/simple-rtmp-server/issues/213
#if defined(_WIN32)
#include <windows.h>
#endif
/**
* for linux like,
* for example, not on windows or it's cygwin.

View file

@ -30,6 +30,11 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#include <sys/types.h>
#ifdef _WIN32
typedef long int int64_t;
typedef unsigned int u_int32_t;
typedef int int32_t;
#endif
/**
* srs-librtmp is a librtmp like library,