mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Refactor macro SRS_AUTO_XXX to SRS_XXX.
This commit is contained in:
parent
2fe1874a87
commit
ed338f4c0a
31 changed files with 193 additions and 198 deletions
|
@ -33,11 +33,6 @@
|
|||
// The macros generated by configure script.
|
||||
#include <srs_auto_headers.hpp>
|
||||
|
||||
// Alias for debug.
|
||||
#ifdef SRS_AUTO_DEBUG
|
||||
#define SRS_DEBUG
|
||||
#endif
|
||||
|
||||
// To convert macro values to string.
|
||||
// @see https://gcc.gnu.org/onlinedocs/cpp/Stringification.html#Stringification
|
||||
#define SRS_INTERNAL_STR(v) #v
|
||||
|
@ -68,7 +63,7 @@
|
|||
#endif
|
||||
|
||||
// For RTC/FFMPEG build.
|
||||
#if defined(SRS_AUTO_RTC) && !defined(__STDC_CONSTANT_MACROS)
|
||||
#if defined(SRS_RTC) && !defined(__STDC_CONSTANT_MACROS)
|
||||
#define __STDC_CONSTANT_MACROS
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue