diff options
author | Raymond Lu <songyulu@hdfgroup.org> | 2006-10-12 18:35:44 (GMT) |
---|---|---|
committer | Raymond Lu <songyulu@hdfgroup.org> | 2006-10-12 18:35:44 (GMT) |
commit | 7da414109cf800ba11680dc25627571953fc268e (patch) | |
tree | d208ac4d0f0031159013dfa97e92d70c1c88fd5f /src/H5FDdirect.c | |
parent | 17a40b2b72e7088a7c87ebf5e440e5d68030a8bc (diff) | |
download | hdf5-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.
Diffstat (limited to 'src/H5FDdirect.c')
-rw-r--r-- | src/H5FDdirect.c | 5 |
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 */ |