trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pque...@apache.org
Subject svn commit: r884798 - /incubator/trafficserver/traffic/trunk/libinktomi++/ink_hrtime.h
Date Fri, 27 Nov 2009 09:36:31 GMT
Author: pquerna
Date: Fri Nov 27 09:36:31 2009
New Revision: 884798

URL: http://svn.apache.org/viewvc?rev=884798&view=rev
Log:
TS-2: Fix macro to use existing HAVE_CLOCK_GETTIME define

Modified:
    incubator/trafficserver/traffic/trunk/libinktomi++/ink_hrtime.h

Modified: incubator/trafficserver/traffic/trunk/libinktomi++/ink_hrtime.h
URL: http://svn.apache.org/viewvc/incubator/trafficserver/traffic/trunk/libinktomi%2B%2B/ink_hrtime.h?rev=884798&r1=884797&r2=884798&view=diff
==============================================================================
--- incubator/trafficserver/traffic/trunk/libinktomi++/ink_hrtime.h (original)
+++ incubator/trafficserver/traffic/trunk/libinktomi++/ink_hrtime.h Fri Nov 27 09:36:31 2009
@@ -289,7 +289,7 @@
 {
 #if defined(USE_TIME_STAMP_COUNTER_HRTIME)
   return hrtime_offset + ink_get_hrtime_internal();
-#elif (HOST_OS == linux) || defined(NO_CLOCK_GETTIME)
+#elif !defined(HAVE_CLOCK_GETTIME)
   timeval tv;
   gettimeofday(&tv, NULL);
   return (tv.tv_sec * HRTIME_SECOND + tv.tv_usec * HRTIME_USECOND);



Mime
View raw message