正在显示
2 个修改的文件
包含
3 行增加
和
3 行删除
| @@ -31,7 +31,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | @@ -31,7 +31,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
| 31 | // current release version | 31 | // current release version |
| 32 | #define VERSION_MAJOR 2 | 32 | #define VERSION_MAJOR 2 |
| 33 | #define VERSION_MINOR 0 | 33 | #define VERSION_MINOR 0 |
| 34 | -#define VERSION_REVISION 34 | 34 | +#define VERSION_REVISION 35 |
| 35 | // server info. | 35 | // server info. |
| 36 | #define RTMP_SIG_SRS_KEY "SRS" | 36 | #define RTMP_SIG_SRS_KEY "SRS" |
| 37 | #define RTMP_SIG_SRS_ROLE "origin/edge server" | 37 | #define RTMP_SIG_SRS_ROLE "origin/edge server" |
| @@ -164,12 +164,12 @@ int main(int argc, char** argv) | @@ -164,12 +164,12 @@ int main(int argc, char** argv) | ||
| 164 | ProfilerStart("gperf.srs.gcp"); | 164 | ProfilerStart("gperf.srs.gcp"); |
| 165 | #endif | 165 | #endif |
| 166 | 166 | ||
| 167 | + // directly compile error when these two macro defines. | ||
| 167 | #if defined(SRS_AUTO_GPERF_MC) && defined(SRS_AUTO_GPERF_MP) | 168 | #if defined(SRS_AUTO_GPERF_MC) && defined(SRS_AUTO_GPERF_MP) |
| 168 | - srs_error("option --with-gmc confict with --with-gmp, " | 169 | + #error ("option --with-gmc confict with --with-gmp, " |
| 169 | "@see: http://google-perftools.googlecode.com/svn/trunk/doc/heap_checker.html\n" | 170 | "@see: http://google-perftools.googlecode.com/svn/trunk/doc/heap_checker.html\n" |
| 170 | "Note that since the heap-checker uses the heap-profiling framework internally, " | 171 | "Note that since the heap-checker uses the heap-profiling framework internally, " |
| 171 | "it is not possible to run both the heap-checker and heap profiler at the same time"); | 172 | "it is not possible to run both the heap-checker and heap profiler at the same time"); |
| 172 | - return -1; | ||
| 173 | #endif | 173 | #endif |
| 174 | 174 | ||
| 175 | // never use srs log(srs_trace, srs_error, etc) before config parse the option, | 175 | // never use srs log(srs_trace, srs_error, etc) before config parse the option, |
-
请 注册 或 登录 后发表评论