瀏覽代碼

#include header for time() on Windows

pull/440/head
Ahmad Fatoum 7 年之前
父節點
當前提交
520f317a75
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: C3EAC3DE9321D59B
共有 1 個檔案被更改,包括 1 行新增0 行删除
  1. +1
    -0
      src/physac.h

+ 1
- 0
src/physac.h 查看文件

@ -255,6 +255,7 @@ PHYSACDEF void ClosePhysics(void);
// Functions required to query time on Windows
int __stdcall QueryPerformanceCounter(unsigned long long int *lpPerformanceCount);
int __stdcall QueryPerformanceFrequency(unsigned long long int *lpFrequency);
#include <time.h>
#elif defined(__linux__)
#if _POSIX_C_SOURCE < 199309L
#undef _POSIX_C_SOURCE

Loading…
取消
儲存