[H5r-commits] r94 - src

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Wed Jun 26 07:46:59 CEST 2013


Author: mjhsieh
Date: 2013-06-26 07:46:59 +0200 (Wed, 26 Jun 2013)
New Revision: 94

Modified:
   src/h5_wrap.c
Log:
The location of malloc.h is at /usr/include/malloc/malloc.h for Mac OS X.
This requires verification, though. Building R3 on my snowleopard.


Modified: src/h5_wrap.c
===================================================================
--- src/h5_wrap.c	2013-06-18 17:04:49 UTC (rev 93)
+++ src/h5_wrap.c	2013-06-26 05:46:59 UTC (rev 94)
@@ -4,7 +4,11 @@
 #include <hdf5.h>
 #include <Rinternals.h>    
 #include <R.h>
+#ifdef __APPLE__
+#include <malloc/malloc.h>
+#else
 #include <malloc.h>
+#endif
 
 #define DEBUG 0
 #define MEMORYDEBUG 0



More information about the H5r-commits mailing list