提交 70857a4a 编写于 作者: D Dr. Stephen Henson

Windows build fixes.

上级 2580ab4e
...@@ -134,6 +134,7 @@ extern "C" { ...@@ -134,6 +134,7 @@ extern "C" {
#endif #endif
#ifdef WIN32 #ifdef WIN32
#define NO_SYS_UN_H
#define get_last_sys_error() GetLastError() #define get_last_sys_error() GetLastError()
#define clear_sys_error() SetLastError(0) #define clear_sys_error() SetLastError(0)
#if !defined(WINNT) #if !defined(WINNT)
......
...@@ -617,6 +617,8 @@ EOF ...@@ -617,6 +617,8 @@ EOF
$ex_libs .= " $zlib_lib" if $zlib_opt == 1; $ex_libs .= " $zlib_lib" if $zlib_opt == 1;
} }
my $asm_def = $orig_platform eq 'copy' ? "" : "ASM=$bin_dir$asm";
$defs= <<"EOF"; $defs= <<"EOF";
# N.B. You MUST use -j on FreeBSD. # N.B. You MUST use -j on FreeBSD.
# This makefile has been automatically generated from the OpenSSL distribution. # This makefile has been automatically generated from the OpenSSL distribution.
...@@ -677,7 +679,7 @@ RANLIB=$ranlib ...@@ -677,7 +679,7 @@ RANLIB=$ranlib
MKDIR=$mkdir MKDIR=$mkdir
MKLIB=$bin_dir$mklib MKLIB=$bin_dir$mklib
MLFLAGS=$mlflags MLFLAGS=$mlflags
#ASM=$bin_dir$asm $asm_def
# FIPS validated module and support file locations # FIPS validated module and support file locations
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册