Wireshark-commits: [Wireshark-commits] master-2.6 3e6de6d: Clean up MSVC version string generation.
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=3e6de6d5f22d428366f09bc697d6e08913d6062d
Submitter: "Guy Harris <guy@xxxxxxxxxxxx>"
Changed: branch: master-2.6
Repository: wireshark
Commits:
3e6de6d by Guy Harris (guy@xxxxxxxxxxxx):
Clean up MSVC version string generation.
Don't bother with versions prior to VS 2010; as of Wireshark 2.4, we
don't support them.
Show it as "Visual Studio (year)", followed by the toolchain version
(not to be confused with the compiler version - or with the Visual
Studio version!).
Do the same thing for the clang/C2 compiler; just append the clang
version stuff after that.
Indent the #if/#elif/#else/#endif to make it a little clearer how
they're nested.
Change-Id: Ib7a3af3251e6375d267b3b5da9f8e26a377ceeac
Reviewed-on: https://code.wireshark.org/review/30138
Petri-Dish: Guy Harris <guy@xxxxxxxxxxxx>
Tested-by: Petri Dish Buildbot
Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
(cherry picked from commit f7596b82ab99cc83a24451f1c6e2ebb8af156478)
Reviewed-on: https://code.wireshark.org/review/30141
Actions performed:
from 7e2a8c1 2.6.4 → 2.6.5.
add 3e6de6d Clean up MSVC version string generation.
Summary of changes:
version_info.c | 192 ++++++++++++++++++++++++++++++++++++++-------------------
1 file changed, 129 insertions(+), 63 deletions(-)