summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/tests/TimerTest.cpp
diff options
context:
space:
mode:
authorClifford Allan Jansen <cliffjansen@apache.org>2012-06-17 23:57:36 +0000
committerClifford Allan Jansen <cliffjansen@apache.org>2012-06-17 23:57:36 +0000
commit25d7d586120db9696447be07d3aa9d80606f181b (patch)
treed5abd1922a82f276cf8c65b8595a88b6333650e9 /qpid/cpp/src/tests/TimerTest.cpp
parent4d4dcd7558a7efc6fbca626f8e5195e6d7f858a2 (diff)
downloadqpid-python-25d7d586120db9696447be07d3aa9d80606f181b.tar.gz
QPID-4071: basic porting changes for solaris native compiler
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1351185 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests/TimerTest.cpp')
-rw-r--r--qpid/cpp/src/tests/TimerTest.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/qpid/cpp/src/tests/TimerTest.cpp b/qpid/cpp/src/tests/TimerTest.cpp
index 6a0a196f4e..fc5004dcb0 100644
--- a/qpid/cpp/src/tests/TimerTest.cpp
+++ b/qpid/cpp/src/tests/TimerTest.cpp
@@ -81,6 +81,8 @@ class TestTask : public TimerTask
uint64_t difference = _abs64(expected - actual);
#elif defined(_WIN32)
uint64_t difference = labs(expected - actual);
+#elif defined(__SUNPRO_CC)
+ uint64_t difference = llabs(expected - actual);
#else
uint64_t difference = abs(expected - actual);
#endif