diff options
| author | Bob Beck <[email protected]> | 2026-06-22 19:06:55 +0200 |
|---|---|---|
| committer | Neil Horman <[email protected]> | 2026-08-26 18:20:02 +0200 |
| commit | c0fd83dc7c25f046c266a44ccb178a8b7e8a4572 (patch) | |
| tree | f8c60e94bc99a8c0943bb288f9f1d227a00abb6f /Configurations | |
| parent | Apply DNS name constraints to the subject CN only when it may match (diff) | |
| download | openssl-c0fd83dc7c25f046c266a44ccb178a8b7e8a4572.tar.gz openssl-c0fd83dc7c25f046c266a44ccb178a8b7e8a4572.zip | |
Add a build target for MSVC 2013
Apparently it is desired to keep this on life support.
So we add a build target for this non-C99 platform, and
provide internal versions of snprintf and vsnprintf for use
only on this platform that match the C99 semantics.
This allows us to use C99 semantics normally elsewhere.
Reviewed-by: Neil Horman <[email protected]>
Reviewed-by: Andrew Dinh <[email protected]>
MergeDate: Wed Aug 26 16:20:04 2026
(Merged from https://github.com/openssl/openssl/pull/31640)
Diffstat (limited to 'Configurations')
| -rw-r--r-- | Configurations/50-win-msvc2013.conf | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Configurations/50-win-msvc2013.conf b/Configurations/50-win-msvc2013.conf new file mode 100644 index 00000000000..755144376e4 --- /dev/null +++ b/Configurations/50-win-msvc2013.conf @@ -0,0 +1,19 @@ +## -*- mode: perl; -*- +# Windows MSVC 2013 compatibility targets. +# +# Visual Studio versions earlier than VS 2015 (_MSC_VER < 1900) do not +# provide the C99 snprintf or vsnprintf functions, and their +# _snprintf / _vsnprintf counterparts have non-C99 semantics. These +# target variants build in a small compatibility source file that +# supplies C99 snprintf and vsnprintf. + +my %targets = ( + "VC-WIN32-MSVC2013" => { + inherit_from => [ "VC-WIN32" ], + needs_c99_snprintf_compat => 1, + }, + "VC-WIN64A-MSVC2013" => { + inherit_from => [ "VC-WIN64A" ], + needs_c99_snprintf_compat => 1, + }, +); |
