Try using Int64 instead of LARGE_INTEGER

pull/12/head
Izaak Beekman 8 years ago
parent e5708f3250
commit 73faf6379e
No known key found for this signature in database
GPG Key ID: A93CE70D8021BD0F

@ -1,7 +1,4 @@
#if (defined(_WIN32) || defined(WIN32)) #if !(defined(_WIN32) || defined(WIN32))
#include "stdafx.h"
#include <Windows.h>
#else
#include <sys/time.h> #include <sys/time.h>
#endif #endif
#include <stdio.h> #include <stdio.h>
@ -110,7 +107,7 @@
double mpi_wtime() double mpi_wtime()
{ {
#if defined(WIN32) || defined(_WIN32) #if defined(WIN32) || defined(_WIN32)
LARGE_INTEGER tim, freq; Int64 tim, freq;
double seconds; double seconds;
QueryPerformanceCounter(&tim); QueryPerformanceCounter(&tim);

Loading…
Cancel
Save