Skip to content

Commit cc50cc0

Browse files
committed
Clarify conditional compilation
MSVC does not understand it.
1 parent b852e5b commit cc50cc0

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

examples/testhdf5.c

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1121,11 +1121,13 @@ static testResult_t test_H5Dinsert
11211121
TEST_CBF_PASS(cbf_H5Dinsert(dset,off,std,cnt,buf,val,type));
11221122
{/* post-conditions */
11231123
CBF_CALL(cbf_H5Dread2(dset,off,std,cnt,valBuf,type));
1124-
if (CBF_SUCCESS==error) TEST(!cmp(val,valBuf,length
1124+
if (CBF_SUCCESS==error) {
11251125
#ifdef CBF_USE_ULP
1126-
,cmp_params
1126+
TEST(!cmp(val,valBuf,length,cmp_params));
1127+
#else
1128+
TEST(!cmp(val,valBuf,length));
11271129
#endif
1128-
));
1130+
}
11291131
}
11301132

11311133
return r;

0 commit comments

Comments
 (0)