summaryrefslogtreecommitdiffstats
path: root/windows/src
diff options
context:
space:
mode:
authorMuQun Yang <ymuqun@hdfgroup.org>2005-04-25 16:47:52 (GMT)
committerMuQun Yang <ymuqun@hdfgroup.org>2005-04-25 16:47:52 (GMT)
commit79460590218b9944523809abf9d84688dca34a2e (patch)
treece0a4b97be1e116afac9ca3ced61f14cbbdd99ee /windows/src
parent4260605b149403c78d10cb7abbfc7a49863b7494 (diff)
downloadhdf5-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:
Diffstat (limited to 'windows/src')
-rwxr-xr-xwindows/src/H5pubconf.h4
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