Add fallback for DECLARE_ALIGNED and DECLARE_ASM_CONST.
Originally committed as revision 11919 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
		
							parent
							
								
									b89bb8581d
								
							
						
					
					
						commit
						7cb1fc766b
					
				@ -35,6 +35,10 @@
 | 
				
			|||||||
#elif _MSVC
 | 
					#elif _MSVC
 | 
				
			||||||
  #define DECLARE_ALIGNED(n,t,v)      __declspec(align(n)) t v
 | 
					  #define DECLARE_ALIGNED(n,t,v)      __declspec(align(n)) t v
 | 
				
			||||||
  #define DECLARE_ASM_CONST(n,t,v)    __declspec(align(n)) static const t v
 | 
					  #define DECLARE_ASM_CONST(n,t,v)    __declspec(align(n)) static const t v
 | 
				
			||||||
 | 
					#else
 | 
				
			||||||
 | 
					  #warning No align and asm directives, this might fail.
 | 
				
			||||||
 | 
					  #define DECLARE_ALIGNED(n,t,v)      t v
 | 
				
			||||||
 | 
					  #define DECLARE_ASM_CONST(n,t,v)    static const t v
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/**
 | 
					/**
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user