]> Repos - portaudio/commitdiff
added pragma to autolink libwinmm with msvc to get timeGetTime symbol when only using...
authorrossb <rossb@0f58301d-fd10-0410-b4af-bbb618454e57>
Tue, 7 Apr 2009 10:08:48 +0000 (10:08 +0000)
committerrossb <rossb@0f58301d-fd10-0410-b4af-bbb618454e57>
Tue, 7 Apr 2009 10:08:48 +0000 (10:08 +0000)
src/os/win/pa_win_util.c

index 838e97c7c196ab6f497e434e5d6100d06e67f6e7..4c7d9ce3f06c1cd67a8874441e642874043e2e1e 100644 (file)
 
 #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.