Skip to content

Commit 3759e51

Browse files
committed
Properly copy fmgroids.h after clean on Win32
Craig Ringer
1 parent 77a1ba2 commit 3759e51

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/tools/msvc/Solution.pm

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,9 @@ s{PG_VERSION_STR "[^"]+"}{__STRINGIFY(x) #x\n#define __STRINGIFY2(z) __STRINGIFY
267267
system(
268268
"perl -I ../catalog Gen_fmgrtab.pl ../../../src/include/catalog/pg_proc.h");
269269
chdir('..\..\..');
270+
}
271+
if (IsNewer('src\include\utils\fmgroids.h', 'src\backend\utils\fmgroids.h'))
272+
{
270273
copyFile('src\backend\utils\fmgroids.h',
271274
'src\include\utils\fmgroids.h');
272275
}

0 commit comments

Comments
 (0)