diff options
author | Rich Salz <rsalz@akamai.com> | 2019-07-01 22:24:08 +0200 |
---|---|---|
committer | Rich Salz <rsalz@akamai.com> | 2019-07-02 02:13:03 +0200 |
commit | 211da00b79f5ab9df62f69ddff65d493759eae4c (patch) | |
tree | de20393740a5eb220900bf14ef82a9dd86a46d0b /util/mkdef.pl | |
parent | Remove global-var/function macros (diff) | |
download | openssl-211da00b79f5ab9df62f69ddff65d493759eae4c.tar.xz openssl-211da00b79f5ab9df62f69ddff65d493759eae4c.zip |
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 <tjh@openssl.org>
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/9285)
Diffstat (limited to 'util/mkdef.pl')
-rwxr-xr-x | util/mkdef.pl | 12 |
1 files changed, 4 insertions, 8 deletions
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 |