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

hotfix 1.0, author bug, use error macro. 1.0.9

This commit is contained in:
winlin 2014-11-27 18:48:01 +08:00
parent 575e50b6e2
commit 9c033c7da6
4 changed files with 16 additions and 12 deletions

View file

@ -158,12 +158,12 @@ int main(int argc, char** argv)
ProfilerStart("gperf.srs.gcp");
#endif
// directly compile error when these two macro defines.
#if defined(SRS_AUTO_GPERF_MC) && defined(SRS_AUTO_GPERF_MP)
srs_error("option --with-gmc confict with --with-gmp, "
#error ("option --with-gmc confict with --with-gmp, "
"@see: http://google-perftools.googlecode.com/svn/trunk/doc/heap_checker.html\n"
"Note that since the heap-checker uses the heap-profiling framework internally, "
"it is not possible to run both the heap-checker and heap profiler at the same time");
return -1;
#endif
// never use srs log(srs_trace, srs_error, etc) before config parse the option,