mirror of
				https://github.com/cuberite/polarssl.git
				synced 2025-11-03 20:22:59 -05:00 
			
		
		
		
	Fix extra guard in memory_buffer_alloc
This commit is contained in:
		
							parent
							
								
									401bb90ac0
								
							
						
					
					
						commit
						c8ada6d410
					
				@ -27,12 +27,10 @@
 | 
				
			|||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#if defined(POLARSSL_MEMORY_BUFFER_ALLOC_C)
 | 
					#if defined(POLARSSL_MEMORY_BUFFER_ALLOC_C)
 | 
				
			||||||
 | 
					 | 
				
			||||||
#include "polarssl/memory_buffer_alloc.h"
 | 
					#include "polarssl/memory_buffer_alloc.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include <string.h>
 | 
					#include <string.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#if defined(POLARSSL_MEMORY_DEBUG)
 | 
					 | 
				
			||||||
#if defined(POLARSSL_PLATFORM_C)
 | 
					#if defined(POLARSSL_PLATFORM_C)
 | 
				
			||||||
#include "polarssl/platform.h"
 | 
					#include "polarssl/platform.h"
 | 
				
			||||||
#else
 | 
					#else
 | 
				
			||||||
@ -40,7 +38,6 @@
 | 
				
			|||||||
#define polarssl_exit    exit
 | 
					#define polarssl_exit    exit
 | 
				
			||||||
#define polarssl_fprintf fprintf
 | 
					#define polarssl_fprintf fprintf
 | 
				
			||||||
#endif /* POLARSSL_PLATFORM_C */
 | 
					#endif /* POLARSSL_PLATFORM_C */
 | 
				
			||||||
#endif /* POLARSSL_MEMORY_DEBUG */
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
#if defined(POLARSSL_MEMORY_BACKTRACE)
 | 
					#if defined(POLARSSL_MEMORY_BACKTRACE)
 | 
				
			||||||
#include <execinfo.h>
 | 
					#include <execinfo.h>
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user