summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2009-02-20 21:27:59 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2009-02-20 21:27:59 (GMT)
commit94838213e64892e965dde3f8f335630cd048b4e0 (patch)
treeba236cfe79fba5b7814ee2aad32ae34137504e53 /tools
parent788e645a78e56c79702ef42939179cda9fe561ad (diff)
downloadhdf5-94838213e64892e965dde3f8f335630cd048b4e0.zip
hdf5-94838213e64892e965dde3f8f335630cd048b4e0.tar.gz
hdf5-94838213e64892e965dde3f8f335630cd048b4e0.tar.bz2
[svn-r16503] merge 16502 from trunk
bug fix: a comma accidently left on a conditional typedef was causing compilition error on AIX tested: linux
Diffstat (limited to 'tools')
-rw-r--r--tools/lib/h5diff_array.c17
1 files changed, 13 insertions, 4 deletions
diff --git a/tools/lib/h5diff_array.c b/tools/lib/h5diff_array.c
index 97880da..c1b3f0e 100644
--- a/tools/lib/h5diff_array.c
+++ b/tools/lib/h5diff_array.c
@@ -157,13 +157,22 @@ static void h5diff_print_char(char ch);
* NaN detection
*-------------------------------------------------------------------------
*/
+
+#if H5_SIZEOF_LONG_DOUBLE !=0
typedef enum dtype_t
{
- FLT_FLOAT, FLT_DOUBLE,
-#if H5_SIZEOF_LONG_DOUBLE !=0
- FLT_LDOUBLE,
-#endif
+ FLT_FLOAT,
+ FLT_DOUBLE,
+ FLT_LDOUBLE
} dtype_t;
+#else
+
+typedef enum dtype_t
+{
+ FLT_FLOAT,
+ FLT_DOUBLE
+} dtype_t;
+#endif
static int my_isnan(dtype_t type, void *val);