正在显示
5 个修改的文件
包含
6 行增加
和
1 行删除
| @@ -82,7 +82,7 @@ LibSTfile="${LibSTRoot}/libst.a" | @@ -82,7 +82,7 @@ LibSTfile="${LibSTRoot}/libst.a" | ||
| 82 | MODULE_ID="CORE" | 82 | MODULE_ID="CORE" |
| 83 | MODULE_DEPENDS=() | 83 | MODULE_DEPENDS=() |
| 84 | ModuleLibIncs=(${LibSTRoot}) | 84 | ModuleLibIncs=(${LibSTRoot}) |
| 85 | -MODULE_FILES=("srs_core_log") | 85 | +MODULE_FILES=("srs_core" "srs_core_log") |
| 86 | MODULE_DIR="src/core" . auto/modules.sh | 86 | MODULE_DIR="src/core" . auto/modules.sh |
| 87 | CORE_OBJS="${MODULE_OBJS[@]}" | 87 | CORE_OBJS="${MODULE_OBJS[@]}" |
| 88 | 88 |
trunk/src/core/srs_core.cpp
0 → 100755
| 1 | +#include <srs_core.hpp> |
| @@ -5,6 +5,8 @@ | @@ -5,6 +5,8 @@ | ||
| 5 | #include <srs_core.hpp> | 5 | #include <srs_core.hpp> |
| 6 | */ | 6 | */ |
| 7 | 7 | ||
| 8 | +// user must include the srs_core.hpp before any header. | ||
| 9 | + | ||
| 8 | // for int64_t print using PRId64 format. | 10 | // for int64_t print using PRId64 format. |
| 9 | #ifndef __STDC_FORMAT_MACROS | 11 | #ifndef __STDC_FORMAT_MACROS |
| 10 | #define __STDC_FORMAT_MACROS | 12 | #define __STDC_FORMAT_MACROS |
| @@ -3,6 +3,7 @@ file | @@ -3,6 +3,7 @@ file | ||
| 3 | ..\main\srs_main_server.cpp, | 3 | ..\main\srs_main_server.cpp, |
| 4 | core readonly separator, | 4 | core readonly separator, |
| 5 | ..\core\srs_core.hpp, | 5 | ..\core\srs_core.hpp, |
| 6 | + ..\core\srs_core.cpp, | ||
| 6 | ..\core\srs_core_log.hpp, | 7 | ..\core\srs_core_log.hpp, |
| 7 | ..\core\srs_core_log.cpp; | 8 | ..\core\srs_core_log.cpp; |
| 8 | mainconfig | 9 | mainconfig |
-
请 注册 或 登录 后发表评论