mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Fix #2214, remove detection for gmc and gmp.
This commit is contained in:
parent
df20fe6c9d
commit
623a453787
2 changed files with 1 additions and 8 deletions
|
@ -6,6 +6,7 @@ The changelog for SRS.
|
|||
|
||||
## SRS 4.0 Changelog
|
||||
|
||||
* v4.0, 2021-06-17, Fix [#2214](https://github.com/ossrs/srs/issues/2214), remove detection for gmc and gmp.
|
||||
* v4.0, 2021-06-16, Change [GB28181](https://github.com/ossrs/srs/issues/1500) to [feature/gb28181](https://github.com/ossrs/srs/tree/feature/gb28181). 4.0.127
|
||||
* v4.0, 2021-06-01, Support --shared-ffmpeg to link with *.so for LGPL license. 4.0.126
|
||||
* v4.0, 2021-06-01, Support --shared-srt to link with *.so for MPL license. 4.0.125
|
||||
|
|
|
@ -94,14 +94,6 @@ srs_error_t do_main(int argc, char** argv)
|
|||
ProfilerStart("gperf.srs.gcp");
|
||||
#endif
|
||||
|
||||
// directly compile error when these two macro defines.
|
||||
#if defined(SRS_GPERF_MC) && defined(SRS_GPERF_MP)
|
||||
#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");
|
||||
#endif
|
||||
|
||||
// never use gmp to check memory leak.
|
||||
#ifdef SRS_GPERF_MP
|
||||
#warning "gmp is not used for memory leak, please use gmc instead."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue