mirror of
				https://github.com/isar/libmdbx.git
				synced 2025-10-31 15:38:57 +08:00 
			
		
		
		
	mdbx: portability - don't include malloc.h on BSD.
				
					
				
			Change-Id: I67f580c073bfe52fbd2e4ff599354e6d0f597e95
This commit is contained in:
		| @@ -50,10 +50,14 @@ | ||||
| #include <assert.h> | ||||
| #include <fcntl.h> | ||||
| #include <limits.h> | ||||
| #include <malloc.h> | ||||
| #include <stdio.h> | ||||
| #include <string.h> | ||||
| #include <time.h> | ||||
| #if !(defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) ||   \ | ||||
|       defined(__BSD__) || defined(__NETBSD__) || defined(__bsdi__) ||          \ | ||||
|       defined(__DragonFly__)) | ||||
| #include <malloc.h> | ||||
| #endif /* xBSD */ | ||||
|  | ||||
| #ifndef _POSIX_C_SOURCE | ||||
| #ifdef _POSIX_SOURCE | ||||
|   | ||||
		Reference in New Issue
	
	Block a user