Fix inconsistent dll linkage warning on windows (#4447)

This commit is contained in:
Jeffery Myers 2024-10-29 01:34:57 -07:00 committed by GitHub
parent de7ab83f5a
commit 743e557e1e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -65,8 +65,9 @@
#if defined(SUPPORT_WINMM_HIGHRES_TIMER) && !defined(SUPPORT_BUSY_WAIT_LOOP)
// NOTE: Those functions require linking with winmm library
unsigned int __stdcall timeBeginPeriod(unsigned int uPeriod);
#pragma warning( disable : 4273 )
unsigned int __stdcall timeEndPeriod(unsigned int uPeriod);
#pragma warning(default : 4273)
#endif
#endif
#if defined(__linux__) || defined(__FreeBSD__) || defined(__OpenBSD__)