浏览代码

#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

正在加载...
取消
保存