Explorar el Código

#include header for time() on Windows

pull/440/head
Ahmad Fatoum hace 8 años
padre
commit
520f317a75
No se encontró ninguna clave conocida en la base de datos para esta firma ID de clave GPG: C3EAC3DE9321D59B
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. +1
    -0
      src/physac.h

+ 1
- 0
src/physac.h Ver fichero

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

Cargando…
Cancelar
Guardar