mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Support debug
This commit is contained in:
parent
8e4ef98629
commit
a80084289b
4 changed files with 16 additions and 1 deletions
|
@ -33,6 +33,11 @@
|
|||
// 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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue