(revc) only link winmm with pragma comment if msvc

This commit is contained in:
alex 2021-07-31 13:39:38 +01:00 committed by GitHub
parent 30061396e8
commit 7d42048180
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -237,7 +237,9 @@ psGrabScreen(RwCamera *pCamera)
*****************************************************************************
*/
#ifdef _WIN32
#ifdef _MSC_VER
#pragma comment( lib, "Winmm.lib" ) // Needed for time
#endif
RwUInt32
psTimer(void)
{