summaryrefslogtreecommitdiffstats
path: root/src/H5config.h.in
diff options
context:
space:
mode:
authorNeil Fortner <nfortne2@hdfgroup.org>2008-09-18 20:53:30 (GMT)
committerNeil Fortner <nfortne2@hdfgroup.org>2008-09-18 20:53:30 (GMT)
commitc254b0bc27536c91c7bb0ffa4269aba76f00fbff (patch)
tree3eeb46e4d97355e23af266b38d2b4f94091f3803 /src/H5config.h.in
parent67cf35a4631348cfcc1ef150b3b7365ca9a56e33 (diff)
downloadhdf5-c254b0bc27536c91c7bb0ffa4269aba76f00fbff.zip
hdf5-c254b0bc27536c91c7bb0ffa4269aba76f00fbff.tar.gz
hdf5-c254b0bc27536c91c7bb0ffa4269aba76f00fbff.tar.bz2
[svn-r15656] Purpose: fix bug 1286
Description: Added configure test to see if pointer alignment restrictions are enforced (as in dereferencing an unaligned pointer causes an error). Added code in H5Tvlen.c to avoid dereferencing unaligned pointers, conditionally compiled based on the configure test. Added test case in dtypes.c which would previously cause such machines to fail. Tested: kagiso, smirom, linew (h5committest); linew64
Diffstat (limited to 'src/H5config.h.in')
-rw-r--r--src/H5config.h.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/H5config.h.in b/src/H5config.h.in
index a12f3bc..efa3469 100644
--- a/src/H5config.h.in
+++ b/src/H5config.h.in
@@ -436,6 +436,9 @@
/* Define if your system can handle special collective IO properly. */
#undef MPI_SPECIAL_COLLECTIVE_IO_WORKS
+/* Define if we can violate pointer alignment restrictions */
+#undef NO_ALIGNMENT_RESTRICTIONS
+
/* Define if deprecated public API symbols are disabled */
#undef NO_DEPRECATED_SYMBOLS