Commits

MuQun Yang committed a3c2612242c
[svn-r7350] Purpose: Add a macro "elif" for the defination of haddr_t on windows. Description: There are no H5_SIZEOF_LONG_LONG for windows; instead H5_SIZEOF____int64 is used. So for the following macro ifdef-block: #if H5_SIZEOF_HADDR_T ==H5_SIZEOF_INT # define H5_PRINTF_HADDR_FMT "%u" #elif H5_SIZEOF_HADDR_T ==H5_SIZEOF_LONG # define H5_PRINTF_HADDR_FMT "%lu" #elif H5_SIZEOF_HADDR_T ==H5_SIZEOF_LONG_LONG # define H5_PRINTF_HADDR_FMT "%"H5_PRINTF_LL_WIDTH"u" #else # error "nothing appropriate for H5_PRINTF_HADDR_FMT" #endif The error will be generated. Solution: Add another "elif H5_SIZEOF_HADDR_T==H5_SIZEOF___INT64" after the last "elif" above so that it can generate the correct result on windows. Platforms tested: Since the change is so small, only test on windows and linux. Misc. update: