Skip to content

Commit 928535a

Browse files
committed
Commented code issuing warnings on w64devkit (GCC)
Tested with w64devkit/MSVC and all seem to work as expected
1 parent 637debb commit 928535a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/platforms/rcore_desktop_glfw.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,9 @@
6666

6767
#if defined(SUPPORT_WINMM_HIGHRES_TIMER) && !defined(SUPPORT_BUSY_WAIT_LOOP)
6868
// NOTE: Those functions require linking with winmm library
69-
#pragma warning(disable: 4273)
70-
unsigned int __stdcall timeEndPeriod(unsigned int uPeriod);
71-
#pragma warning(default: 4273)
69+
//#pragma warning(disable: 4273)
70+
__declspec(dllimport) unsigned int __stdcall timeEndPeriod(unsigned int uPeriod);
71+
//#pragma warning(default: 4273)
7272
#endif
7373
#endif
7474
#if defined(__linux__) || defined(__FreeBSD__) || defined(__OpenBSD__)

0 commit comments

Comments
 (0)