summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2001-06-12 18:54:04 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2001-06-12 18:54:04 (GMT)
commit36278382345343bcb0b21c9f21e0244bb55b7f45 (patch)
tree8aac53bb512f8ebcc6ae3966e192f1e69236e237
parentf5a747cc9fd00e4592c7b20d7d199d3e6a0c0821 (diff)
downloadhdf5-36278382345343bcb0b21c9f21e0244bb55b7f45.zip
hdf5-36278382345343bcb0b21c9f21e0244bb55b7f45.tar.gz
hdf5-36278382345343bcb0b21c9f21e0244bb55b7f45.tar.bz2
[svn-r3998] Purpose:
Code cleanup Description: float32 & float64 typedefs are not used in HDF5 library and are causing conflicts with Kent's h4toh5 library code. Solution: Take the float32 & float64 typedefs out Platforms tested: FreeBSD 4.3 (hawkwind)
-rw-r--r--src/H5private.h34
1 files changed, 0 insertions, 34 deletions
diff --git a/src/H5private.h b/src/H5private.h
index 287439d..912ef5c 100644
--- a/src/H5private.h
+++ b/src/H5private.h
@@ -454,40 +454,6 @@ typedef long off_t;
# error "nothing appropriate for int64_t"
#endif
-#if SIZEOF_UINT64_T>=8
-#elif SIZEOF_INT>=8
- typedef unsigned uint64_t;
-# undef SIZEOF_UINT64_T
-# define SIZEOF_UINT64_T SIZEOF_INT
-#elif SIZEOF_LONG>=8
- typedef unsigned long uint64_t;
-# undef SIZEOF_UINT64_T
-# define SIZEOF_UINT64_T SIZEOF_LONG
-#elif SIZEOF_LONG_LONG>=8
- typedef unsigned long_long uint64_t;
-# undef SIZEOF_UINT64_T
-# define SIZEOF_UINT64_T SIZEOF_LONG_LONG
-#else
-# error "nothing appropriate for uint64_t"
-#endif
-
-#if SIZEOF_FLOAT>=4
-typedef float float32;
-#elif SIZEOF_DOUBLE>=4
-typedef double float32;
-#else
-# error "nothing appropriate for float32"
-#endif
-
-/* Bias float64 toward using double - QAK */
-#if SIZEOF_DOUBLE>=8
-typedef double float64;
-#elif SIZEOF_FLOAT>=8
-typedef float float64;
-#else
-# error "nothing appropriate for float64"
-#endif
-
/*
* Define a type for generic integers. Use this instead of `int' to
* show that some thought went into the algorithm.