1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-12 11:21:52 +00:00

add srs_core.cpp

This commit is contained in:
winlin 2013-10-17 22:14:11 +08:00
parent 67d96fcab4
commit 78c69016ba
5 changed files with 6 additions and 1 deletions

2
trunk/configure vendored
View file

@ -82,7 +82,7 @@ LibSTfile="${LibSTRoot}/libst.a"
MODULE_ID="CORE"
MODULE_DEPENDS=()
ModuleLibIncs=(${LibSTRoot})
MODULE_FILES=("srs_core_log")
MODULE_FILES=("srs_core" "srs_core_log")
MODULE_DIR="src/core" . auto/modules.sh
CORE_OBJS="${MODULE_OBJS[@]}"

1
trunk/src/core/srs_core.cpp Executable file
View file

@ -0,0 +1 @@
#include <srs_core.hpp>

View file

@ -5,6 +5,8 @@
#include <srs_core.hpp>
*/
// user must include the srs_core.hpp before any header.
// for int64_t print using PRId64 format.
#ifndef __STDC_FORMAT_MACROS
#define __STDC_FORMAT_MACROS

View file

@ -12,6 +12,7 @@
#include <errno.h>
#include <string.h>
// the context for multiple clients.
class ILogContext
{
public:

View file

@ -3,6 +3,7 @@ file
..\main\srs_main_server.cpp,
core readonly separator,
..\core\srs_core.hpp,
..\core\srs_core.cpp,
..\core\srs_core_log.hpp,
..\core\srs_core_log.cpp;
mainconfig