diff options
Diffstat (limited to 'tests/DLL_Test.cpp')
-rw-r--r-- | tests/DLL_Test.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/tests/DLL_Test.cpp b/tests/DLL_Test.cpp index 58f8bc201c0..c053f3ef3ea 100644 --- a/tests/DLL_Test.cpp +++ b/tests/DLL_Test.cpp @@ -43,8 +43,8 @@ USELIB("..\ace\aced.lib"); # define OBJ_SUFFIX ".exe" # define OBJ_PREFIX "" #else -# define OBJ_SUFFIX ".so" -# define OBJ_PREFIX "./lib" +# define OBJ_SUFFIX ACE_DLL_SUFFIX +# define OBJ_PREFIX "./" ACE_DLL_PREFIX #endif /*ACE_WIN32*/ class Hello @@ -89,7 +89,9 @@ Hello *get_hello (void) typedef Hello *(*TC) (void); // Protection against this test being run individually. -#if defined (ACE_WIN32) || defined (ACE_HAS_SVR4_DYNAMIC_LINKING) +#if defined (ACE_WIN32) || defined (ACE_HAS_SVR4_DYNAMIC_LINKING) || \ + defined (__hpux) + int main (int argc, char *argv[]) { @@ -124,7 +126,7 @@ main (int argc, char *argv[]) ACE_END_TEST; return 0; } -#endif /* ACE_WIN32 || ACE_HAS_SVR4_DYNAMIC_LINKING */ +#endif /* ACE_WIN32 || ACE_HAS_SVR4_DYNAMIC_LINKING || __hpux */ #if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) template class auto_ptr <Hello>; |