diff options
author | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2009-02-20 21:07:34 (GMT) |
---|---|---|
committer | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2009-02-20 21:07:34 (GMT) |
commit | 11e7897d320937fe1afaf4e526898ffa0f1a9034 (patch) | |
tree | 343a5ddfeb2f4c4781276eaf6a79e07a99519256 | |
parent | 1357f1a25b15a6a0ab74b79ffe91ed08ee007684 (diff) | |
download | hdf5-11e7897d320937fe1afaf4e526898ffa0f1a9034.zip hdf5-11e7897d320937fe1afaf4e526898ffa0f1a9034.tar.gz hdf5-11e7897d320937fe1afaf4e526898ffa0f1a9034.tar.bz2 |
[svn-r16502] bug fix: a comma accidently left on a conditional typedef was causing compilition error on AIX
tested: h5commitest
-rw-r--r-- | tools/lib/h5diff_array.c | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/tools/lib/h5diff_array.c b/tools/lib/h5diff_array.c index b7a4be6..ebf541e 100644 --- a/tools/lib/h5diff_array.c +++ b/tools/lib/h5diff_array.c @@ -156,13 +156,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); |