Revision: 23790
http://opalvoip.svn.sourceforge.net/opalvoip/?rev=23790&view=rev
Author: shorne
Date: 2009-11-24 03:22:28 +0000 (Tue, 24 Nov 2009)
Log Message:
-----------
Compile Fix: Solaris 10 local variable renamed to avoid conflict.
Modified Paths:
--------------
ptlib/trunk/src/ptlib/unix/tlibthrd.cxx
Modified: ptlib/trunk/src/ptlib/unix/tlibthrd.cxx
===================================================================
--- ptlib/trunk/src/ptlib/unix/tlibthrd.cxx 2009-11-23 05:43:21 UTC (rev 23789)
+++ ptlib/trunk/src/ptlib/unix/tlibthrd.cxx 2009-11-24 03:22:28 UTC (rev 23790)
@@ -966,8 +966,8 @@
static inline unsigned long long jiffies_to_msecs(const unsigned long j)
{
- static long HZ = sysconf(_SC_CLK_TCK);
- return (j * 1000LL) / HZ;
+ static long sysconf_HZ = sysconf(_SC_CLK_TCK);
+ return (j * 1000LL) / sysconf_HZ;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|