From 7da414109cf800ba11680dc25627571953fc268e Mon Sep 17 00:00:00 2001 From: Raymond Lu Date: Thu, 12 Oct 2006 13:35:44 -0500 Subject: [svn-r12755] The line "#define _XOPEN_SOURCE 600" is recommended for posix_memalign function but causes compiling error on copper. Comment it out. It only gives a warning on SGI Altix. --- src/H5FDdirect.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/H5FDdirect.c b/src/H5FDdirect.c index 54283b5..36dae03 100644 --- a/src/H5FDdirect.c +++ b/src/H5FDdirect.c @@ -24,8 +24,9 @@ /* Interface initialization */ #define H5_INTERFACE_INIT_FUNC H5FD_direct_init_interface -/* For system function posix_memalign */ -#define _XOPEN_SOURCE 600 +/* For system function posix_memalign - Commented it out because copper isn't able to compile + * this file. */ +/* #define _XOPEN_SOURCE 600 */ #include "H5private.h" /* Generic Functions */ #include "H5Eprivate.h" /* Error handling */ -- cgit v0.12