diff options
author | Bruce Momjian | 2013-05-29 20:58:43 +0000 |
---|---|---|
committer | Bruce Momjian | 2013-05-29 20:58:43 +0000 |
commit | 9af4159fce6654aa0e081b00d02bca40b978745c (patch) | |
tree | 3aa507fc6cc67ed3d9f6ceec4d65d1e56cc08e1a /src/tools/msvc/Solution.pm | |
parent | 07ab261ef3a9575a4a2bd3045b222d7b3dee2c46 (diff) |
pgindent run for release 9.3
This is the first run of the Perl-based pgindent script. Also update
pgindent instructions.
Diffstat (limited to 'src/tools/msvc/Solution.pm')
-rw-r--r-- | src/tools/msvc/Solution.pm | 24 |
1 files changed, 14 insertions, 10 deletions
diff --git a/src/tools/msvc/Solution.pm b/src/tools/msvc/Solution.pm index e271ac8d9be..bc52086fc8a 100644 --- a/src/tools/msvc/Solution.pm +++ b/src/tools/msvc/Solution.pm @@ -242,10 +242,12 @@ s{PG_VERSION_STR "[^"]+"}{__STRINGIFY(x) #x\n#define __STRINGIFY2(z) __STRINGIFY } if (IsNewer( - "src\\include\\pg_config_ext.h", "src\\include\\pg_config_ext.h.win32")) + "src\\include\\pg_config_ext.h", + "src\\include\\pg_config_ext.h.win32")) { print "Copying pg_config_ext.h...\n"; - copyFile("src\\include\\pg_config_ext.h.win32", + copyFile( + "src\\include\\pg_config_ext.h.win32", "src\\include\\pg_config_ext.h"); } @@ -275,7 +277,9 @@ s{PG_VERSION_STR "[^"]+"}{__STRINGIFY(x) #x\n#define __STRINGIFY2(z) __STRINGIFY "perl -I ../catalog Gen_fmgrtab.pl ../../../src/include/catalog/pg_proc.h"); chdir('..\..\..'); } - if (IsNewer('src\include\utils\fmgroids.h', 'src\backend\utils\fmgroids.h')) + if (IsNewer( + 'src\include\utils\fmgroids.h', + 'src\backend\utils\fmgroids.h')) { copyFile('src\backend\utils\fmgroids.h', 'src\include\utils\fmgroids.h'); @@ -712,15 +716,15 @@ use base qw(Solution); sub new { - my $classname = shift; - my $self = $classname->SUPER::_new(@_); - bless($self, $classname); + my $classname = shift; + my $self = $classname->SUPER::_new(@_); + bless($self, $classname); - $self->{solutionFileVersion} = '12.00'; - $self->{vcver} = '11.00'; - $self->{visualStudioName} = 'Visual Studio 2012'; + $self->{solutionFileVersion} = '12.00'; + $self->{vcver} = '11.00'; + $self->{visualStudioName} = 'Visual Studio 2012'; - return $self; + return $self; } 1; |