mirror of
				https://github.com/cuberite/polarssl.git
				synced 2025-11-04 04:32:24 -05:00 
			
		
		
		
	Move MinGW specific define out of a header file
This commit is contained in:
		
							parent
							
								
									41734a1f2a
								
							
						
					
					
						commit
						edb868dcf9
					
				@ -64,10 +64,6 @@ extern "C" {
 | 
				
			|||||||
#define MBEDTLS_PLATFORM_HAS_NON_CONFORMING_VSNPRINTF
 | 
					#define MBEDTLS_PLATFORM_HAS_NON_CONFORMING_VSNPRINTF
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#if defined(__MINGW32__) && !defined(__USE_MINGW_ANSI_STDIO)
 | 
					 | 
				
			||||||
#define __USE_MINGW_ANSI_STDIO 1
 | 
					 | 
				
			||||||
#endif
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
#if !defined(MBEDTLS_PLATFORM_NO_STD_FUNCTIONS)
 | 
					#if !defined(MBEDTLS_PLATFORM_NO_STD_FUNCTIONS)
 | 
				
			||||||
#include <stdio.h>
 | 
					#include <stdio.h>
 | 
				
			||||||
#include <stdlib.h>
 | 
					#include <stdlib.h>
 | 
				
			||||||
 | 
				
			|||||||
@ -30,6 +30,10 @@
 | 
				
			|||||||
#include "mbedtls/platform.h"
 | 
					#include "mbedtls/platform.h"
 | 
				
			||||||
#include "mbedtls/platform_util.h"
 | 
					#include "mbedtls/platform_util.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#if defined(__MINGW32__) && !defined(__USE_MINGW_ANSI_STDIO)
 | 
				
			||||||
 | 
					#define __USE_MINGW_ANSI_STDIO 1
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#if defined(MBEDTLS_PLATFORM_MEMORY)
 | 
					#if defined(MBEDTLS_PLATFORM_MEMORY)
 | 
				
			||||||
#if !defined(MBEDTLS_PLATFORM_STD_CALLOC)
 | 
					#if !defined(MBEDTLS_PLATFORM_STD_CALLOC)
 | 
				
			||||||
static void *platform_calloc_uninit( size_t n, size_t size )
 | 
					static void *platform_calloc_uninit( size_t n, size_t size )
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user