update
This commit is contained in:
17
benchmarks/opencl/nearn/gettimeofday.h
Executable file
17
benchmarks/opencl/nearn/gettimeofday.h
Executable file
@@ -0,0 +1,17 @@
|
||||
|
||||
#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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user