summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbala <balanatarajan@users.noreply.github.com>2004-03-16 22:57:22 +0000
committerbala <balanatarajan@users.noreply.github.com>2004-03-16 22:57:22 +0000
commit5042777d7ba6b1331cc27b7c0b31d2a3e2ad93db (patch)
tree8a89460813117b2228a919fe6e8c84edf0e4790f
parent69b3894683509e068a449d451601eb4cf530d1cb (diff)
downloadATCD-5042777d7ba6b1331cc27b7c0b31d2a3e2ad93db.tar.gz
ChangeLogTag:Tue Mar 16 16:56:36 2004 Balachandran Natarajan <bala@dre.vanderbilt.edu>
-rw-r--r--ASNMP/tests/Counter64_Test.cpp2
-rw-r--r--ASNMP/tests/Gauge_Test.cpp2
2 files changed, 4 insertions, 0 deletions
diff --git a/ASNMP/tests/Counter64_Test.cpp b/ASNMP/tests/Counter64_Test.cpp
index 210fe3fc1d6..8bdc90b9c8f 100644
--- a/ASNMP/tests/Counter64_Test.cpp
+++ b/ASNMP/tests/Counter64_Test.cpp
@@ -76,6 +76,7 @@ ACE_RCSID(tests, Counter64_Test, "$Id$")
static void TestCounter64()
{
+#if !defined (ACE_WIN32)
static unsigned long ul = ULONG_MAX;
LLONG ll = (LLONG) 0x7fffffffffffffffLL;
LLONG mll = (LLONG) ((-ll) - 1);
@@ -140,6 +141,7 @@ static void TestCounter64()
c5 = mll;
c5 = c5 + (ULLONG) 10;
ACE_ASSERT(c5 == (mll + 10));
+#endif /*ACE_WIN32 */
}
int
diff --git a/ASNMP/tests/Gauge_Test.cpp b/ASNMP/tests/Gauge_Test.cpp
index c4cbdfcbdf8..fdb67451672 100644
--- a/ASNMP/tests/Gauge_Test.cpp
+++ b/ASNMP/tests/Gauge_Test.cpp
@@ -61,6 +61,7 @@ ACE_RCSID(tests, Gauge_Test, "$Id$")
*/
static void TestGuage()
{
+#if !defined (ACE_WIN32)
long l = LONG_MAX, nl = LONG_MIN; // limits.h
unsigned long ul = ULONG_MAX, def = 0;
int i = INT_MAX, ni = INT_MIN;
@@ -113,6 +114,7 @@ static void TestGuage()
ACE_ASSERT(g1 == us);
g1 = si; // unsigned short
ACE_ASSERT(g1 == si);
+#endif /*ACE_WIN32*/
}
int