use CMK_HAS_MALLOC_H for malloc.h
authorGengbin Zheng <gzheng@illinois.edu>
Tue, 12 Oct 2004 20:14:45 +0000 (20:14 +0000)
committerGengbin Zheng <gzheng@illinois.edu>
Tue, 12 Oct 2004 20:14:45 +0000 (20:14 +0000)
src/libs/ck-libs/parmetis/ParMETISLib/stdheaders.h

index 7b74d87998baf2507b2798944fad47e6da77cf90..d5d5d7f0cf6c001ae7d09a41b3898d97691f0a6b 100644 (file)
@@ -16,7 +16,7 @@
 #include <stdlib.h>
 
 /* OSX does not use malloc.h, but provides malloc functionality in stdlib.h */
-#ifndef __MACH__ && __APPLE_CC__
+#if CMK_HAS_MALLOC_H
 #include <malloc.h>
 #endif