mirror of
				https://github.com/Xahau/xahaud.git
				synced 2025-11-04 02:35:48 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			15 lines
		
	
	
		
			494 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			494 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
Fixes the following error:
 | 
						||
error: inlining failed in call to ‘always_inline’ ‘size_t snappy::AdvanceToNextTag(const uint8_t**, size_t*)’: function body can be overwritten at link time
 | 
						||
 | 
						||
--- snappy-stubs-internal.h
 | 
						||
+++ snappy-stubs-internal.h
 | 
						||
@@ -100,7 +100,7 @@
 | 
						||
 
 | 
						||
 // Inlining hints.
 | 
						||
 #ifdef HAVE_ATTRIBUTE_ALWAYS_INLINE
 | 
						||
-#define SNAPPY_ATTRIBUTE_ALWAYS_INLINE __attribute__((always_inline))
 | 
						||
+#define SNAPPY_ATTRIBUTE_ALWAYS_INLINE
 | 
						||
 #else
 | 
						||
 #define SNAPPY_ATTRIBUTE_ALWAYS_INLINE
 | 
						||
 #endif
 |