瀏覽代碼

Fix inconsistent dll linkage warning on windows (#4447)

pull/4449/head
Jeffery Myers 1 年之前
committed by GitHub
父節點
當前提交
743e557e1e
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: B5690EEEBB952194
共有 1 個檔案被更改,包括 2 行新增1 行删除
  1. +2
    -1
      src/platforms/rcore_desktop_glfw.c

+ 2
- 1
src/platforms/rcore_desktop_glfw.c 查看文件

@ -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__)

Loading…
取消
儲存