summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2006-10-12 18:35:44 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2006-10-12 18:35:44 (GMT)
commit7da414109cf800ba11680dc25627571953fc268e (patch)
treed208ac4d0f0031159013dfa97e92d70c1c88fd5f
parent17a40b2b72e7088a7c87ebf5e440e5d68030a8bc (diff)
downloadhdf5-7da414109cf800ba11680dc25627571953fc268e.zip
hdf5-7da414109cf800ba11680dc25627571953fc268e.tar.gz
hdf5-7da414109cf800ba11680dc25627571953fc268e.tar.bz2
[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.
-rw-r--r--src/H5FDdirect.c5
1 files 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 */