mirror of
				https://github.com/cuberite/polarssl.git
				synced 2025-10-30 19:20:40 -04:00 
			
		
		
		
	Fix single threaded builds
This commit is contained in:
		
							parent
							
								
									71c7ac5597
								
							
						
					
					
						commit
						17ddff5eaf
					
				| @ -81,6 +81,7 @@ void mbedtls_threading_set_alt( void (*mutex_init)( mbedtls_threading_mutex_t * | |||||||
| void mbedtls_threading_free_alt( void ); | void mbedtls_threading_free_alt( void ); | ||||||
| #endif /* MBEDTLS_THREADING_ALT */ | #endif /* MBEDTLS_THREADING_ALT */ | ||||||
| 
 | 
 | ||||||
|  | #if defined(MBEDTLS_THREADING_C) | ||||||
| /*
 | /*
 | ||||||
|  * The function pointers for mutex_init, mutex_free, mutex_ and mutex_unlock |  * The function pointers for mutex_init, mutex_free, mutex_ and mutex_unlock | ||||||
|  * |  * | ||||||
| @ -96,6 +97,7 @@ extern int (*mbedtls_mutex_unlock)( mbedtls_threading_mutex_t *mutex ); | |||||||
|  */ |  */ | ||||||
| extern mbedtls_threading_mutex_t mbedtls_threading_readdir_mutex; | extern mbedtls_threading_mutex_t mbedtls_threading_readdir_mutex; | ||||||
| extern mbedtls_threading_mutex_t mbedtls_threading_gmtime_mutex; | extern mbedtls_threading_mutex_t mbedtls_threading_gmtime_mutex; | ||||||
|  | #endif | ||||||
| 
 | 
 | ||||||
| #ifdef __cplusplus | #ifdef __cplusplus | ||||||
| } | } | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Embedthis Software
						Embedthis Software