only pragma comment if using msvc

This commit is contained in:
alex 2021-07-31 13:38:53 +01:00 committed by GitHub
parent 3c5bae164f
commit e32a7896a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

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