diff options
author | Clifford Allan Jansen <cliffjansen@apache.org> | 2012-06-17 23:57:36 +0000 |
---|---|---|
committer | Clifford Allan Jansen <cliffjansen@apache.org> | 2012-06-17 23:57:36 +0000 |
commit | 3787db149f6ff723ac5e3f299bc0b81b82c49fb3 (patch) | |
tree | de9007cfe5ef552aa03e35d38456726ed5ea331c /cpp/src/tests/TimerTest.cpp | |
parent | 2186af12ea4c38694f59821dfadad661cd93958f (diff) | |
download | qpid-python-3787db149f6ff723ac5e3f299bc0b81b82c49fb3.tar.gz |
QPID-4071: basic porting changes for solaris native compiler
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1351185 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests/TimerTest.cpp')
-rw-r--r-- | cpp/src/tests/TimerTest.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cpp/src/tests/TimerTest.cpp b/cpp/src/tests/TimerTest.cpp index 6a0a196f4e..fc5004dcb0 100644 --- a/cpp/src/tests/TimerTest.cpp +++ b/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 |