summaryrefslogtreecommitdiff
path: root/tests/DLL_Test.cpp
diff options
context:
space:
mode:
authordhinton <dhinton@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-11-13 23:21:46 +0000
committerdhinton <dhinton@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-11-13 23:21:46 +0000
commitf66bfded7ebbc446d278e0e634b9ad1443035816 (patch)
treea12ab6ee178dc3e7fd5f7fa84471f0229b0e0c94 /tests/DLL_Test.cpp
parent7fcc2fe20626c51d24050aa94bcb6af0bc547ffc (diff)
downloadATCD-f66bfded7ebbc446d278e0e634b9ad1443035816.tar.gz
ChangeLogTag:Thu Nov 13 23:22:21 UTC 2003 Don Hinton <dhinton@dresystems.com>
Diffstat (limited to 'tests/DLL_Test.cpp')
-rw-r--r--tests/DLL_Test.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/DLL_Test.cpp b/tests/DLL_Test.cpp
index adea3f2903a..419608072ff 100644
--- a/tests/DLL_Test.cpp
+++ b/tests/DLL_Test.cpp
@@ -124,6 +124,8 @@ int basic_test (ACE_DLL &dll)
int dynamic_cast_test (ACE_DLL &dll)
{
+
+#if defined (ACE_LACKS_RTTI)
Child child;
child.test();
@@ -147,10 +149,12 @@ int dynamic_cast_test (ACE_DLL &dll)
if (pfnAcquire( &child ) == -1)
ACE_ERROR_RETURN ((LM_ERROR, ACE_TEXT ("dyanmic_cast failed.\n")), -1);
+#endif /* ACE_LACKS_RTTI */
return 0;
}
+
int
run_main (int, ACE_TCHAR *[])
{