mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
update code, warning when compile dev branch.
This commit is contained in:
parent
fa53250202
commit
5fd308c64e
2 changed files with 2 additions and 3 deletions
|
@ -11,10 +11,8 @@
|
|||
|
||||
#include "public.h"
|
||||
|
||||
#if !defined(__ia64__)
|
||||
#if defined(__ia64__)
|
||||
#error "IA64 not supported"
|
||||
#else
|
||||
#error "Only IA64 supported"
|
||||
#endif
|
||||
|
||||
#define srs_trace(msg, ...) printf(msg, ##__VA_ARGS__);printf("\n")
|
||||
|
|
|
@ -140,6 +140,7 @@ void check_macro_features()
|
|||
#endif
|
||||
|
||||
#if VERSION_MAJOR > 1
|
||||
#warning "using develop SRS, please use release instead."
|
||||
srs_warn("SRS %s is develop branch, please use %s instead", RTMP_SIG_SRS_VERSION, RTMP_SIG_SRS_RELEASE);
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue