q66 pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=dadc3505078a672fccee4cb771f79cfcb0201e46

commit dadc3505078a672fccee4cb771f79cfcb0201e46
Author: Daniel Kolesa <d.kol...@osg.samsung.com>
Date:   Thu Jan 7 15:31:59 2016 +0000

    eina mp: only include malloc.h on linux
    
    Elsewhere, everything is in stdlib.h.
    
    @fix
---
 src/modules/eina/mp/chained_pool/eina_chained_mempool.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/modules/eina/mp/chained_pool/eina_chained_mempool.c 
b/src/modules/eina/mp/chained_pool/eina_chained_mempool.c
index 5c916e7..8c64c48 100644
--- a/src/modules/eina/mp/chained_pool/eina_chained_mempool.c
+++ b/src/modules/eina/mp/chained_pool/eina_chained_mempool.c
@@ -27,7 +27,7 @@
 # include <assert.h>
 #endif
 
-#ifdef EINA_DEBUG_MALLOC
+#if defined(EINA_DEBUG_MALLOC) && defined(__linux__)
 # include <malloc.h>
 #endif
 

-- 


Reply via email to