summaryrefslogtreecommitdiff
path: root/e_os2.h
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2001-05-12 00:16:56 +0000
committerDr. Stephen Henson <steve@openssl.org>2001-05-12 00:16:56 +0000
commit595cc5b4b86327fba7bb0570294f7fb05987485b (patch)
tree2070c8da7d79f665495d43e81200e053d23ca3ed /e_os2.h
parent29fb08c2de059d22b599f43ce5deaadfed28bc3a (diff)
downloadopenssl-new-595cc5b4b86327fba7bb0570294f7fb05987485b.tar.gz
Under VC++ _DLL is set to indicate that the application
will be linked against the DLL runtime library. It is automatically set when /MD is used. As a result OpenSSL shouldn't use _DLL to determine if it should set OPENSSL_OPT_WINDLL because this will cause linkage conflicts with static builds which do include the /MD compiler switch.
Diffstat (limited to 'e_os2.h')
-rw-r--r--e_os2.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/e_os2.h b/e_os2.h
index 1b71fba707..272faad39c 100644
--- a/e_os2.h
+++ b/e_os2.h
@@ -121,9 +121,6 @@ extern "C" {
# if defined(_WINDLL) /* This is used when building OpenSSL to indicate that
DLL linkage should be used */
# define OPENSSL_OPT_WINDLL
-# elif defined(_DLL) /* This one is used quite much in the VC++ header
- files */
-# define OPENSSL_OPT_WINDLL
# endif
# endif
#endif