Sfoglia il codice sorgente

Fix inconsistent dll linkage warning on windows

pull/4447/head
Jeffery Myers 2 mesi fa
parent
commit
e4089fe9e4
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. +2
    -1
      src/platforms/rcore_desktop_glfw.c

+ 2
- 1
src/platforms/rcore_desktop_glfw.c Vedi 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__)

Caricamento…
Annulla
Salva