From: Jacek Caban jacek@codeweavers.com
round is not available in msvcrt.dll. While it’s typically handled via a compiler builtin, that’s not the case with Clang when -ffp-exception-behavior=maytrap is used. --- dlls/dmime/tests/dmime.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/dmime/tests/dmime.c b/dlls/dmime/tests/dmime.c index 2329a1411ba..389f2546c01 100644 --- a/dlls/dmime/tests/dmime.c +++ b/dlls/dmime/tests/dmime.c @@ -4090,7 +4090,7 @@ static void test_wave_pmsg(unsigned num_repeats) hr = IDirectMusicPerformance_ReferenceToMusicTime(performance, 1000000, &length); ok(hr == S_OK, "got %#lx\n", hr); /* assuming not modified tempo */ - length = round((1000000 * 120.0 * DMUS_PPQ) / 600000000.0); + length = ceil((1000000 * 120.0 * DMUS_PPQ) / 600000000.0);
for (i = 0; i <= num_repeats; i++) {