瀏覽代碼

compilefix for function declaration (win only)

pull/420/head
user 7 年之前
父節點
當前提交
a7f2fedbfb
共有 1 個檔案被更改,包括 3 行新增2 行删除
  1. +3
    -2
      src/core.c

+ 3
- 2
src/core.c 查看文件

@ -153,8 +153,9 @@
//#define GLFW_DLL // Using GLFW DLL on Windows -> No, we use static version! //#define GLFW_DLL // Using GLFW DLL on Windows -> No, we use static version!
#if !defined(SUPPORT_BUSY_WAIT_LOOP) && defined(_WIN32) #if !defined(SUPPORT_BUSY_WAIT_LOOP) && defined(_WIN32)
__stdcall unsigned int timeBeginPeriod(unsigned int uPeriod);
__stdcall unsigned int timeEndPeriod(unsigned int uPeriod);
// NOTE: Those functions require linking with winmm library
unsigned int __stdcall timeBeginPeriod(unsigned int uPeriod);
unsigned int __stdcall timeEndPeriod(unsigned int uPeriod);
#endif #endif
#endif #endif

Loading…
取消
儲存