diff --git a/test/tap/tap/tap.cpp b/test/tap/tap/tap.cpp index df457ae89..263805998 100644 --- a/test/tap/tap/tap.cpp +++ b/test/tap/tap/tap.cpp @@ -28,6 +28,7 @@ typedef char my_bool; #include #include #include +#include static ulong start_timer(void); static void end_timer(ulong start_time,char *buff); @@ -350,13 +351,13 @@ int exit_status() #include #else #include -#ifdef _SC_CLK_TCK // For mit-pthreads -#undef CLOCKS_PER_SEC +//#ifdef _SC_CLK_TCK // For mit-pthreads +//#undef CLOCKS_PER_SEC #define CLOCKS_PER_SEC (sysconf(_SC_CLK_TCK)) -#endif +//#endif #endif -#define CLOCKS_PER_SEC 1000000 +//#define CLOCKS_PER_SEC 1000000 static ulong start_timer(void) {