diff options
author | Steve Huston <shuston@riverace.com> | 1999-03-02 22:06:15 +0000 |
---|---|---|
committer | Steve Huston <shuston@riverace.com> | 1999-03-02 22:06:15 +0000 |
commit | 5e6380d4bbb4f9714f8cbbff357515b4fab80fa7 (patch) | |
tree | 7b1cc19ee07f8067b17618186b682483f1dcb448 /tests | |
parent | d3956c971f0f004996887a97559dd697731aa89c (diff) | |
download | ATCD-5e6380d4bbb4f9714f8cbbff357515b4fab80fa7.tar.gz |
Enable it to run on HP-UX. Generalize the prefix/suffix with platform
definitions from OS.h.
Diffstat (limited to 'tests')
-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>; |