summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorkirthika <kirthika@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-03-02 05:47:29 +0000
committerkirthika <kirthika@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-03-02 05:47:29 +0000
commita3a680e41a970f81098826b3498793c0a29d9c46 (patch)
treeccba47cf35cdf076e94a03d1eb62f6dec5a77d83 /tests
parente55ccbaa936789035015e782bee2071099d2a95f (diff)
downloadATCD-a3a680e41a970f81098826b3498793c0a29d9c46.tar.gz
Added a check for WIN32 too.
Diffstat (limited to 'tests')
-rw-r--r--tests/DLL_Test.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/DLL_Test.cpp b/tests/DLL_Test.cpp
index c612a4a1395..5222199b47b 100644
--- a/tests/DLL_Test.cpp
+++ b/tests/DLL_Test.cpp
@@ -40,7 +40,6 @@ USELIB("..\ace\aced.lib");
// symbols dynamically at runtime.
#if defined (ACE_WIN32)
-#define ACE_HAS_SVR4_DYNAMIC_LINKING
# define OBJ_SUFFIX ".exe"
# define OBJ_PREFIX ""
#else
@@ -89,7 +88,8 @@ Hello *get_hello (void)
typedef Hello *(*TC) (void);
-#if defined (ACE_HAS_SVR4_DYNAMIC_LINKING)
+#if defined (ACE_WIN32)
+#elif defined (ACE_HAS_SVR4_DYNAMIC_LINKING)
int
main (int argc, char *argv[])
{
@@ -124,7 +124,7 @@ main (int argc, char *argv[])
ACE_END_TEST;
return 0;
}
-#endif /* ACE_HAS_SVR4_DYNAMIC_LINKING */
+#endif /* ACE_WIN32 || ACE_HAS_SVR4_DYNAMIC_LINKING */
#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION)
template class auto_ptr <Hello>;