We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af792c4 commit bd73bc0Copy full SHA for bd73bc0
dependencies/zycore
examples/ZydisPerfTest.c
@@ -37,7 +37,7 @@
37
# include <windows.h>
38
#elif defined(ZYAN_APPLE)
39
# include <mach/mach_time.h>
40
-#elif defined(ZYAN_LINUX) || defined(ZYAN_SOLARIS)
+#elif defined(ZYAN_LINUX) || defined(ZYAN_SOLARIS) || defined(ZYAN_HAIKU)
41
# include <sys/time.h>
42
# include <pthread.h>
43
#elif defined(ZYAN_FREEBSD)
@@ -147,7 +147,7 @@ static double GetCounter(void)
147
return (double)elapsed * timebase_info.numer / timebase_info.denom / 1000000;
148
}
149
150
-#elif defined(ZYAN_LINUX) || defined(ZYAN_FREEBSD) || defined(ZYAN_SOLARIS)
+#elif defined(ZYAN_LINUX) || defined(ZYAN_FREEBSD) || defined(ZYAN_SOLARIS) || defined(ZYAN_HAIKU)
151
152
struct timeval t1;
153
0 commit comments