summaryrefslogtreecommitdiff
path: root/ASNMP
diff options
context:
space:
mode:
authorbala <bala@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2004-03-16 22:57:22 +0000
committerbala <bala@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2004-03-16 22:57:22 +0000
commit0045500a47db5270eb4c7b52b100c18e43fc61b3 (patch)
tree8a89460813117b2228a919fe6e8c84edf0e4790f /ASNMP
parent7d07755fed0721b96529e33b67116e9c543d301b (diff)
downloadATCD-0045500a47db5270eb4c7b52b100c18e43fc61b3.tar.gz
ChangeLogTag:Tue Mar 16 16:56:36 2004 Balachandran Natarajan <bala@dre.vanderbilt.edu>
Diffstat (limited to 'ASNMP')
-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