summaryrefslogtreecommitdiff
path: root/tests/DLL_Test.cpp
diff options
context:
space:
mode:
authorcoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-02-24 23:51:02 +0000
committercoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-02-24 23:51:02 +0000
commit95c2f775182b7db9670266ae8f15002469277a79 (patch)
tree2d92c69f15039f53213cd83c02addbc1cd9a5665 /tests/DLL_Test.cpp
parentb7a08c34f2fd42e23b78a43e47c5382cd5e33e4b (diff)
downloadATCD-95c2f775182b7db9670266ae8f15002469277a79.tar.gz
ChangeLogTag:Sat Feb 24 15:44:58 2001 Carlos O'Ryan <coryan@uci.edu>
Diffstat (limited to 'tests/DLL_Test.cpp')
-rw-r--r--tests/DLL_Test.cpp18
1 files changed, 3 insertions, 15 deletions
diff --git a/tests/DLL_Test.cpp b/tests/DLL_Test.cpp
index 6559f7db1f8..abb7f34226b 100644
--- a/tests/DLL_Test.cpp
+++ b/tests/DLL_Test.cpp
@@ -16,8 +16,6 @@
//
// ============================================================================
-#define ACE_BUILD_SVC_DLL
-
#include "test_config.h"
#include "DLL_Test.h"
#include "ace/DLL.h"
@@ -25,18 +23,8 @@
ACE_RCSID(tests, DLL_Test, "$Id$")
-// Considering UNIX OS to be default. On Win32 platforms, the symbols
-// are got form the .exe as one cant have .exe and .dll for the same
-// .cpp. Also, on Win32 platforms one cant use the .obj to obtain
-// symbols dynamically at runtime.
-
-#if defined (ACE_WIN32)
-# define OBJ_SUFFIX ACE_TEXT (".exe")
-# define OBJ_PREFIX ACE_TEXT ("")
-#else
-# define OBJ_SUFFIX ACE_DLL_SUFFIX
-# define OBJ_PREFIX "./" ACE_DLL_PREFIX
-#endif /*ACE_WIN32*/
+#define OBJ_SUFFIX ACE_DLL_SUFFIX
+#define OBJ_PREFIX "./" ACE_DLL_PREFIX
ACE_TCHAR const *
cdecl_decoration (ACE_TCHAR const *func_name)
@@ -66,7 +54,7 @@ main (int, ACE_TCHAR *[])
ACE_DLL dll;
int retval = dll.open (OBJ_PREFIX
- ACE_TEXT ("DLL_Test")
+ ACE_TEXT ("DLL_Testd")
OBJ_SUFFIX);
if (retval != 0)
ACE_ERROR_RETURN ((LM_ERROR,