Alexandre Julliard : shlwapi/tests: Test if SHCreateStreamOnFileEx is present before using it.
Module: wine Branch: master Commit: ec7c250450628cbf835533f8383f4c27278f1cb4 URL: http://source.winehq.org/git/wine.git/?a=commit;h=ec7c250450628cbf835533f838... Author: Alexandre Julliard <julliard(a)winehq.org> Date: Fri Nov 8 12:57:14 2013 +0100 shlwapi/tests: Test if SHCreateStreamOnFileEx is present before using it. --- dlls/shlwapi/tests/istream.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/shlwapi/tests/istream.c b/dlls/shlwapi/tests/istream.c index 760b847..9ea3def 100644 --- a/dlls/shlwapi/tests/istream.c +++ b/dlls/shlwapi/tests/istream.c @@ -759,5 +759,5 @@ START_TEST(istream) } } - test_SHCreateStreamOnFileEx_CopyTo(); + if (pSHCreateStreamOnFileEx) test_SHCreateStreamOnFileEx_CopyTo(); }
participants (1)
-
Alexandre Julliard