Skip to content

Commit

Permalink
Fix inconsistent dll linkage warning on windows (#4447)
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffM2501 authored Oct 29, 2024
1 parent de7ab83 commit 743e557
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/platforms/rcore_desktop_glfw.c
Original file line number Diff line number Diff line change
Expand Up @@ -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__)
Expand Down

0 comments on commit 743e557

Please sign in to comment.