Files
kernels/benchmarks/opencl/guassian/gettimeofday.h
Blaise Tine f2dd612078 update
2019-11-25 04:49:55 -05:00

18 lines
296 B
C
Executable File

#ifdef _WIN32
#include <WinSock.h>
/**
Based on code seen at.
http://www.winehq.org/pipermail/wine-devel/2003-June/018082.html
http://msdn.microsoft.com/en-us/library/ms740560
*/
int gettimeofday(struct timeval *tv, struct timezone *tz);
#else
#include <sys/time.h>
#endif