winlin

update code, warning when compile dev branch.

@@ -11,10 +11,8 @@ @@ -11,10 +11,8 @@
11 11
12 #include "public.h" 12 #include "public.h"
13 13
14 -#if !defined(__ia64__) 14 +#if defined(__ia64__)
15 #error "IA64 not supported" 15 #error "IA64 not supported"
16 -#else  
17 - #error "Only IA64 supported"  
18 #endif 16 #endif
19 17
20 #define srs_trace(msg, ...) printf(msg, ##__VA_ARGS__);printf("\n") 18 #define srs_trace(msg, ...) printf(msg, ##__VA_ARGS__);printf("\n")
@@ -140,6 +140,7 @@ void check_macro_features() @@ -140,6 +140,7 @@ void check_macro_features()
140 #endif 140 #endif
141 141
142 #if VERSION_MAJOR > 1 142 #if VERSION_MAJOR > 1
  143 + #warning "using develop SRS, please use release instead."
143 srs_warn("SRS %s is develop branch, please use %s instead", RTMP_SIG_SRS_VERSION, RTMP_SIG_SRS_RELEASE); 144 srs_warn("SRS %s is develop branch, please use %s instead", RTMP_SIG_SRS_VERSION, RTMP_SIG_SRS_RELEASE);
144 #endif 145 #endif
145 } 146 }