summaryrefslogtreecommitdiff
path: root/tests/CDR_Array_Test.cpp
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-08-09 15:13:12 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-08-09 15:13:12 +0000
commitd2ab2b0ed1618b729d9298c7666bf8eafe273df1 (patch)
tree6a638c9635006ea63870e5a5cb677cbc8dab806a /tests/CDR_Array_Test.cpp
parent2e31abf183b9e5b123051f0c75d097a417e04a6a (diff)
downloadATCD-d2ab2b0ed1618b729d9298c7666bf8eafe273df1.tar.gz
ChangeLogTag: Wed Aug 09 10:10:45 2000 David L. Levine <levine@cs.wustl.edu>
Diffstat (limited to 'tests/CDR_Array_Test.cpp')
-rw-r--r--tests/CDR_Array_Test.cpp12
1 files changed, 10 insertions, 2 deletions
diff --git a/tests/CDR_Array_Test.cpp b/tests/CDR_Array_Test.cpp
index f7f4eb7e530..1afdd48a75f 100644
--- a/tests/CDR_Array_Test.cpp
+++ b/tests/CDR_Array_Test.cpp
@@ -746,6 +746,7 @@ struct LongHelper
}
};
+#if !defined (ACE_LACKS_LONGLONG_T)
struct LongLongHelper
{
static const ACE_TCHAR* name ()
@@ -778,6 +779,7 @@ struct LongLongHelper
return sizeof(ACE_CDR::LongLong);
}
};
+#endif /* ! ACE_LACKS_LONGLONG_T */
struct CharHelper
{
@@ -937,10 +939,12 @@ main (int argc, ACE_TCHAR *argv[])
CDR_Test<ACE_CDR::Float, FloatHelper>
test (ftotal, niter, use_array);
}
+#if !defined (ACE_LACKS_LONGLONG_T)
{
CDR_Test<ACE_CDR::LongLong, LongLongHelper>
test (qtotal, niter, use_array);
}
+#endif /* ! ACE_LACKS_LONGLONG_T */
{
CDR_Test<ACE_CDR::Long, LongHelper>
test (wtotal, niter, use_array);
@@ -963,7 +967,9 @@ main (int argc, ACE_TCHAR *argv[])
template class CDR_Test<ACE_CDR::Double, DoubleHelper>;
template class CDR_Test<ACE_CDR::Float, FloatHelper>;
-template class CDR_Test<ACE_CDR::LongLong, LongLongHelper>;
+#if !defined (ACE_LACKS_LONGLONG_T)
+ template class CDR_Test<ACE_CDR::LongLong, LongLongHelper>;
+#endif /* ! ACE_LACKS_LONGLONG_T */
template class CDR_Test<ACE_CDR::Long, LongHelper>;
template class CDR_Test<ACE_CDR::Short, ShortHelper>;
template class CDR_Test<ACE_CDR::Char, CharHelper>;
@@ -972,7 +978,9 @@ template class CDR_Test<ACE_CDR::Char, CharHelper>;
#pragma instantiate CDR_Test<ACE_CDR::Double, DoubleHelper>
#pragma instantiate CDR_Test<ACE_CDR::Float, FloatHelper>
-#pragma instantiate CDR_Test<ACE_CDR::LongLong, LongLongHelper>
+#if !defined (ACE_LACKS_LONGLONG_T)
+# pragma instantiate CDR_Test<ACE_CDR::LongLong, LongLongHelper>
+#endif /* ! ACE_LACKS_LONGLONG_T */
#pragma instantiate CDR_Test<ACE_CDR::Long, LongHelper>
#pragma instantiate CDR_Test<ACE_CDR::Short, ShortHelper>
#pragma instantiate CDR_Test<ACE_CDR::Char, CharHelper>