Addenum to http://cvs.openssl.org/chngview?cn=13054.
authorAndy Polyakov <appro@openssl.org>
Wed, 13 Apr 2005 21:10:07 +0000 (21:10 +0000)
committerAndy Polyakov <appro@openssl.org>
Wed, 13 Apr 2005 21:10:07 +0000 (21:10 +0000)
TABLE
e_os2.h

diff --git a/TABLE b/TABLE
index 6d09c53..3e18bfc 100644 (file)
--- a/TABLE
+++ b/TABLE
@@ -320,7 +320,7 @@ $dso_scheme   = dlfcn
 $shared_target= cygwin-shared
 $shared_cflag = -D_WINDLL
 $shared_ldflag = -shared
 $shared_target= cygwin-shared
 $shared_cflag = -D_WINDLL
 $shared_ldflag = -shared
-$shared_extension = .dll
+$shared_extension = .dll.a
 $ranlib       = 
 $arflags      = 
 
 $ranlib       = 
 $arflags      = 
 
@@ -1238,7 +1238,7 @@ $dso_scheme   = dlfcn
 $shared_target= cygwin-shared
 $shared_cflag = -D_WINDLL
 $shared_ldflag = -shared
 $shared_target= cygwin-shared
 $shared_cflag = -D_WINDLL
 $shared_ldflag = -shared
-$shared_extension = .dll
+$shared_extension = .dll.a
 $ranlib       = 
 $arflags      = 
 
 $ranlib       = 
 $arflags      = 
 
@@ -3080,7 +3080,7 @@ $arflags      =
 
 *** mingw
 $cc           = gcc
 
 *** mingw
 $cc           = gcc
-$cflags       = -mno-cygwin -DL_ENDIAN -fomit-frame-pointer -O3 -march=i486 -Wall
+$cflags       = -mno-cygwin -DL_ENDIAN -fomit-frame-pointer -O3 -march=i486 -Wall -D_WIN32_WINNT=0x333
 $unistd       = 
 $thread_cflag = 
 $sys_id       = MINGW32
 $unistd       = 
 $thread_cflag = 
 $sys_id       = MINGW32
@@ -3101,7 +3101,7 @@ $dso_scheme   = win32
 $shared_target= cygwin-shared
 $shared_cflag = -D_WINDLL
 $shared_ldflag = -mno-cygwin -shared
 $shared_target= cygwin-shared
 $shared_cflag = -D_WINDLL
 $shared_ldflag = -mno-cygwin -shared
-$shared_extension = .dll
+$shared_extension = .dll.a
 $ranlib       = 
 $arflags      = 
 
 $ranlib       = 
 $arflags      = 
 
diff --git a/e_os2.h b/e_os2.h
index 60f9b5c..5cceb85 100644 (file)
--- a/e_os2.h
+++ b/e_os2.h
@@ -246,8 +246,8 @@ extern "C" {
 # define OPENSSL_IMPORT globalref
 # define OPENSSL_GLOBAL globaldef
 #elif defined(OPENSSL_SYS_WINDOWS) && defined(OPENSSL_OPT_WINDLL)
 # define OPENSSL_IMPORT globalref
 # define OPENSSL_GLOBAL globaldef
 #elif defined(OPENSSL_SYS_WINDOWS) && defined(OPENSSL_OPT_WINDLL)
-# define OPENSSL_EXPORT extern _declspec(dllexport)
-# define OPENSSL_IMPORT extern _declspec(dllimport)
+# define OPENSSL_EXPORT extern __declspec(dllexport)
+# define OPENSSL_IMPORT extern __declspec(dllimport)
 # define OPENSSL_GLOBAL
 #else
 # define OPENSSL_EXPORT extern
 # define OPENSSL_GLOBAL
 #else
 # define OPENSSL_EXPORT extern