From 36278382345343bcb0b21c9f21e0244bb55b7f45 Mon Sep 17 00:00:00 2001 From: Quincey Koziol Date: Tue, 12 Jun 2001 13:54:04 -0500 Subject: [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) --- src/H5private.h | 34 ---------------------------------- 1 file changed, 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. -- cgit v0.12