From 211da00b79f5ab9df62f69ddff65d493759eae4c Mon Sep 17 00:00:00 2001 From: Rich Salz Date: Mon, 1 Jul 2019 16:24:08 -0400 Subject: Remove EXPORT_VAR_AS_FUNC We only export functions, not global, so remove the config option and some of the #ifdef stuff. Reviewed-by: Tim Hudson Reviewed-by: Paul Dale (Merged from https://github.com/openssl/openssl/pull/9285) --- util/mkdef.pl | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'util/mkdef.pl') diff --git a/util/mkdef.pl b/util/mkdef.pl index 83c9d7996d..a860db601d 100755 --- a/util/mkdef.pl +++ b/util/mkdef.pl @@ -109,24 +109,20 @@ my $libname = platform->sharedname($name); my %OS_data = ( solaris => { writer => \&writer_linux, sort => sorter_linux(), - platforms => { UNIX => 1, - EXPORT_VAR_AS_FUNCTION => 0 } }, + platforms => { UNIX => 1 } }, linux => 'solaris', # alias "bsd-gcc" => 'solaris', # alias aix => { writer => \&writer_aix, sort => sorter_unix(), - platforms => { UNIX => 1, - EXPORT_VAR_AS_FUNCTION => 0 } }, + platforms => { UNIX => 1 } }, VMS => { writer => \&writer_VMS, sort => OpenSSL::Ordinals::by_number(), - platforms => { VMS => 1, - EXPORT_VAR_AS_FUNCTION => 0 } }, + platforms => { VMS => 1 } }, vms => 'VMS', # alias WINDOWS => { writer => \&writer_windows, sort => OpenSSL::Ordinals::by_name(), platforms => { WIN32 => 1, - _WIN32 => 1, - EXPORT_VAR_AS_FUNCTION => 1 } }, + _WIN32 => 1 } }, windows => 'WINDOWS', # alias WIN32 => 'WINDOWS', # alias win32 => 'WIN32', # alias -- cgit v1.2.1