diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2018-04-25 14:00:19 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2018-04-25 14:00:19 -0400 |
commit | f04d4ac919b9ae9b57e977523e4b40979aa8b951 (patch) | |
tree | ea104f87f210c15479c92bc5f4dd8c06f7a30583 /src/tools/msvc/VSObjectFactory.pm | |
parent | 46cda5bf7bc209554b3c1bbb3040b45735387e0c (diff) | |
download | postgresql-f04d4ac919b9ae9b57e977523e4b40979aa8b951.tar.gz postgresql-f04d4ac919b9ae9b57e977523e4b40979aa8b951.zip |
Reindent Perl files with perltidy version 20170521.
Discussion: https://postgr.es/m/CABUevEzK3cNiHZQ18f5tK0guoT+cN_jWeVzhYYxY=r+1Q3SmoA@mail.gmail.com
Diffstat (limited to 'src/tools/msvc/VSObjectFactory.pm')
-rw-r--r-- | src/tools/msvc/VSObjectFactory.pm | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/src/tools/msvc/VSObjectFactory.pm b/src/tools/msvc/VSObjectFactory.pm index 2f3480a1f60..3e29089bae5 100644 --- a/src/tools/msvc/VSObjectFactory.pm +++ b/src/tools/msvc/VSObjectFactory.pm @@ -53,8 +53,10 @@ sub CreateSolution { return new VS2015Solution(@_); } - # visual 2017 hasn't changed the nmake version to 15, so adjust the check to support it. - elsif (($visualStudioVersion ge '14.10') or ($visualStudioVersion eq '15.00')) + +# visual 2017 hasn't changed the nmake version to 15, so adjust the check to support it. + elsif (($visualStudioVersion ge '14.10') + or ($visualStudioVersion eq '15.00')) { return new VS2017Solution(@_); } @@ -98,8 +100,10 @@ sub CreateProject { return new VC2015Project(@_); } - # visual 2017 hasn't changed the nmake version to 15, so adjust the check to support it. - elsif (($visualStudioVersion ge '14.10') or ($visualStudioVersion eq '15.00')) + +# visual 2017 hasn't changed the nmake version to 15, so adjust the check to support it. + elsif (($visualStudioVersion ge '14.10') + or ($visualStudioVersion eq '15.00')) { return new VC2017Project(@_); } @@ -132,7 +136,8 @@ sub DetermineVisualStudioVersion sub _GetVisualStudioVersion { my ($major, $minor) = @_; - # visual 2017 hasn't changed the nmake version to 15, so still using the older version for comparison. + +# visual 2017 hasn't changed the nmake version to 15, so still using the older version for comparison. if ($major > 14) { carp |