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:
parent
67d96fcab4
commit
78c69016ba
5 changed files with 6 additions and 1 deletions
2
trunk/configure
vendored
2
trunk/configure
vendored
|
@ -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
1
trunk/src/core/srs_core.cpp
Executable file
|
@ -0,0 +1 @@
|
|||
#include <srs_core.hpp>
|
|
@ -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
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
#include <errno.h>
|
||||
#include <string.h>
|
||||
|
||||
// the context for multiple clients.
|
||||
class ILogContext
|
||||
{
|
||||
public:
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue