From 79460590218b9944523809abf9d84688dca34a2e Mon Sep 17 00:00:00 2001 From: MuQun Yang Date: Mon, 25 Apr 2005 11:47:52 -0500 Subject: [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: --- windows/src/H5pubconf.h | 4 ++++ 1 file changed, 4 insertions(+) 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 -- cgit v0.12