From 076044de33e9632ab9094747d8821c4c0fdd0497 Mon Sep 17 00:00:00 2001 From: rossb Date: Tue, 7 Apr 2009 10:08:48 +0000 Subject: [PATCH] added pragma to autolink libwinmm with msvc to get timeGetTime symbol when only using ASIO. thanks Yann --- src/os/win/pa_win_util.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/os/win/pa_win_util.c b/src/os/win/pa_win_util.c index 838e97c..4c7d9ce 100644 --- a/src/os/win/pa_win_util.c +++ b/src/os/win/pa_win_util.c @@ -51,6 +51,10 @@ #include "pa_util.h" +#if (defined(WIN32) && (defined(_MSC_VER) && (_MSC_VER >= 1200))) /* MSC version 6 and above */ +#pragma comment( lib, "winmm.lib" ) +#endif + /* Track memory allocations to avoid leaks. -- 2.43.0