mirror of
				https://github.com/ossrs/srs.git
				synced 2025-03-09 15:49:59 +00:00 
			
		
		
		
	fix #485, error when arm glibc 2.15+ or not i386/x86_64/amd64. 2.0.192
This commit is contained in:
		
							parent
							
								
									f6e655396c
								
							
						
					
					
						commit
						cfe2082353
					
				
					 5 changed files with 29 additions and 26 deletions
				
			
		| 
						 | 
				
			
			@ -31,7 +31,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 | 
			
		|||
// current release version
 | 
			
		||||
#define VERSION_MAJOR       2
 | 
			
		||||
#define VERSION_MINOR       0
 | 
			
		||||
#define VERSION_REVISION    191
 | 
			
		||||
#define VERSION_REVISION    192
 | 
			
		||||
 | 
			
		||||
// server info.
 | 
			
		||||
#define RTMP_SIG_SRS_KEY "SRS"
 | 
			
		||||
| 
						 | 
				
			
			@ -119,5 +119,17 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 | 
			
		|||
        className(const className&); \
 | 
			
		||||
        className& operator= (const className&)
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * important check for st(state-threads),
 | 
			
		||||
 * only support the following cpus:
 | 
			
		||||
 *      1. i386/amd64/x86_64
 | 
			
		||||
 *      2. arm, glibc <= 2.15
 | 
			
		||||
 */
 | 
			
		||||
#if !defined(__amd64__) && !defined(__x86_64__) && !defined(__i386__) && !defined(__arm__)
 | 
			
		||||
    #error "only support i386/amd64/x86_64/arm cpu"
 | 
			
		||||
#endif
 | 
			
		||||
#if defined(__arm__) && __GLIBC__ != 2 || __GLIBC_MINOR__ > 15
 | 
			
		||||
    #error "for arm, only support glibc <= 2.15"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#endif
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue