summaryrefslogtreecommitdiffstats
path: root/src/H5config.h.in
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2001-07-17 21:27:06 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2001-07-17 21:27:06 (GMT)
commit5c8bcc19175fc8d261aef18f4152d8aeaf9de9d8 (patch)
treef8003c1205506463e44ab2b075fbfcc8653b3479 /src/H5config.h.in
parent857e0e6e57f4f0a8ce9fec9b3200837065f3a058 (diff)
downloadhdf5-5c8bcc19175fc8d261aef18f4152d8aeaf9de9d8.zip
hdf5-5c8bcc19175fc8d261aef18f4152d8aeaf9de9d8.tar.gz
hdf5-5c8bcc19175fc8d261aef18f4152d8aeaf9de9d8.tar.bz2
[svn-r4232] Purpose:
Bug fix. Description: On some systems (linux when not using gcc) 'dev_t' is not actually a scalar variable. This causes the code which compares dev_t's in the file drivers to not compile. Also the H5_inline flag was not being set correctly in the H5private.h file. Solution: Set the H5_inline flag to '' (i.e. define it, but don't assign it a value) if it is not currently defined. Use DEV_T_IS_SCALAR flag from configure to correctly compare dev_t's using memcmp instead of a scalar flag. Platforms tested: FreeBSD 4.3 (hawkwind), Linux 2.4.2 (chiba city cluster at Argonne)
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 ddfdadb..969c801 100644
--- a/src/H5config.h.in
+++ b/src/H5config.h.in
@@ -47,6 +47,9 @@
/* Define if it's safe to use `long long' for hsize_t and hssize_t */
#undef HAVE_LARGE_HSIZET
+/* Define if it's safe to use `long long' for hsize_t and hssize_t */
+#undef DEV_T_IS_SCALAR
+
/* Define if the HDF5 v1.2 compatibility functions are to be compiled in */
#undef WANT_H5_V1_2_COMPAT