diff options
author | MuQun Yang <ymuqun@hdfgroup.org> | 2005-04-25 16:47:52 (GMT) |
---|---|---|
committer | MuQun Yang <ymuqun@hdfgroup.org> | 2005-04-25 16:47:52 (GMT) |
commit | 79460590218b9944523809abf9d84688dca34a2e (patch) | |
tree | ce0a4b97be1e116afac9ca3ced61f14cbbdd99ee | |
parent | 4260605b149403c78d10cb7abbfc7a49863b7494 (diff) | |
download | hdf5-79460590218b9944523809abf9d84688dca34a2e.zip hdf5-79460590218b9944523809abf9d84688dca34a2e.tar.gz hdf5-79460590218b9944523809abf9d84688dca34a2e.tar.bz2 |
[svn-r10655] Purpose:
Supper 12-byte long double for intel compiler.
Description:
Long double is 12-byte at intel compiler, currently we always set long double to 8-byte.
Change this for intel compiler. This is not the compelete change. H5Tinit.c needs also to be changed to support this.
Solution:
Platforms tested:
Not test yet, since it won't affect other compilers except intel, will test soon.
Misc. update:
-rwxr-xr-x | windows/src/H5pubconf.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/windows/src/H5pubconf.h b/windows/src/H5pubconf.h index 51fb178..2aae5af 100755 --- a/windows/src/H5pubconf.h +++ b/windows/src/H5pubconf.h @@ -38,7 +38,11 @@ in the file file_io.win32.c and including it on the projects #define H5_SIZEOF_LONG 4 +#if defined __INTEL_COMPILER +#define H5_SIZEOF_LONG_DOUBLE 12 +#else #define H5_SIZEOF_LONG_DOUBLE 8 +#endif #define H5_SIZEOF_OFF_T 4 #define H5_SIZEOF_SHORT 2 #define H5_SIZEOF_SIZE_T 4 |