Windows build fixes.

This commit is contained in:
Dr. Stephen Henson 2014-07-01 14:11:28 +01:00
parent 2580ab4ed7
commit 70857a4a00
2 changed files with 4 additions and 1 deletions

1
e_os.h
View file

@ -134,6 +134,7 @@ extern "C" {
#endif
#ifdef WIN32
#define NO_SYS_UN_H
#define get_last_sys_error() GetLastError()
#define clear_sys_error() SetLastError(0)
#if !defined(WINNT)

View file

@ -617,6 +617,8 @@ EOF
$ex_libs .= " $zlib_lib" if $zlib_opt == 1;
}
my $asm_def = $orig_platform eq 'copy' ? "" : "ASM=$bin_dir$asm";
$defs= <<"EOF";
# N.B. You MUST use -j on FreeBSD.
# This makefile has been automatically generated from the OpenSSL distribution.
@ -677,7 +679,7 @@ RANLIB=$ranlib
MKDIR=$mkdir
MKLIB=$bin_dir$mklib
MLFLAGS=$mlflags
#ASM=$bin_dir$asm
$asm_def
# FIPS validated module and support file locations