Skip to content

Commit

Permalink
Windows build fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
snhenson committed Jul 1, 2014
1 parent 2580ab4 commit 70857a4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions e_os.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 3 additions & 1 deletion util/mk1mf.pl
Original file line number Diff line number Diff line change
Expand Up @@ -617,6 +617,8 @@
$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.
Expand Down Expand Up @@ -677,7 +679,7 @@
MKDIR=$mkdir
MKLIB=$bin_dir$mklib
MLFLAGS=$mlflags
#ASM=$bin_dir$asm
$asm_def
# FIPS validated module and support file locations
Expand Down

0 comments on commit 70857a4

Please sign in to comment.