[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)
This commit is contained 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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user