summaryrefslogtreecommitdiffstats
path: root/windows
diff options
context:
space:
mode:
authorFang Guo <fangguo@ncsa.uiuc.edu>2005-09-07 22:17:04 (GMT)
committerFang Guo <fangguo@ncsa.uiuc.edu>2005-09-07 22:17:04 (GMT)
commitae138025bb35212b021bf0c95f89fb5c51b56448 (patch)
tree1dd04e6f89837a1f6e00512001c4ed285bbb60af /windows
parentc037d88f3f08991056c276d15ed9025bdd4a90e0 (diff)
downloadhdf5-ae138025bb35212b021bf0c95f89fb5c51b56448.zip
hdf5-ae138025bb35212b021bf0c95f89fb5c51b56448.tar.gz
hdf5-ae138025bb35212b021bf0c95f89fb5c51b56448.tar.bz2
[svn-r11368] Purpose:
Maintenance on Windows Description: Add definition for int <-> float conversion exception Solution: Platforms tested: MSVS 6.0 on Windows XP Misc. update:
Diffstat (limited to 'windows')
-rwxr-xr-xwindows/src/H5pubconf.h43
1 files changed, 25 insertions, 18 deletions
diff --git a/windows/src/H5pubconf.h b/windows/src/H5pubconf.h
index a450af9..02af03f 100755
--- a/windows/src/H5pubconf.h
+++ b/windows/src/H5pubconf.h
@@ -1,5 +1,22 @@
/* H5pubconf.h is adapted from UNIX platform and manually maintained on the windows platform. */
+#define H5_SIZEOF___INT64 8
+#define H5_SIZEOF_CHAR 1
+#define H5_SIZEOF_DOUBLE 8
+#define H5_SIZEOF_FLOAT 4
+#define H5_SIZEOF_INT 4
+#define H5_SIZEOF_LONG 4
+#define H5_SIZEOF_LONG_DOUBLE 8
+#define H5_SIZEOF_OFF_T 4
+#define H5_SIZEOF_SHORT 2
+#define H5_SIZEOF_SIZE_T 4
+
+/*#if defined __INTEL_COMPILER
+#define H5_SIZEOF_LONG_DOUBLE 12
+#else*/
+
+/*#endif*/
+
/*#define H5_HAVE_TM_ZONE 1 windows do not use this constant.*/
#define H5_MALLOC_WORKS 1
@@ -28,25 +45,8 @@ in the file file_io.win32.c and including it on the projects
#else
#define H5_PRINTF_LL_WIDTH "I64"
#endif
-#define H5_HAVE___int64
-#define H5_SIZEOF___INT64 8
-#define H5_SIZEOF_CHAR 1
-#define H5_SIZEOF_DOUBLE 8
-#define H5_SIZEOF_FLOAT 4
-#define H5_SIZEOF_INT 4
-
-
-#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
+#define H5_HAVE___int64
#define H5_HAVE_DIFFTIME 1
@@ -131,3 +131,10 @@ in the file file_io.win32.c and including it on the projects
#endif
#endif
*/
+
+
+/* Data accuracy is prefered to speed during data conversions */
+#define H5_WANT_DATA_ACCURACY 1
+
+/* Check exception handling functions during data conversions */
+#define H5_WANT_DCONV_EXCEPTION 1