$shared_target= cygwin-shared
$shared_cflag = -D_WINDLL
$shared_ldflag = -shared
-$shared_extension = .dll
+$shared_extension = .dll.a
$ranlib =
$arflags =
$shared_target= cygwin-shared
$shared_cflag = -D_WINDLL
$shared_ldflag = -shared
-$shared_extension = .dll
+$shared_extension = .dll.a
$ranlib =
$arflags =
*** 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
$shared_target= cygwin-shared
$shared_cflag = -D_WINDLL
$shared_ldflag = -mno-cygwin -shared
-$shared_extension = .dll
+$shared_extension = .dll.a
$ranlib =
$arflags =
# 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