1
0
Fork 0
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:
winlin 2014-11-06 15:18:10 +08:00
parent fa53250202
commit 5fd308c64e
2 changed files with 2 additions and 3 deletions

View file

@ -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")

View file

@ -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
}