Skip to content

Commit c1f856a

Browse files
committed
Properly copy fmgroids.h after clean on Win32
Craig Ringer
1 parent c2e32d5 commit c1f856a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/tools/msvc/Solution.pm

+3
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,9 @@ s{PG_VERSION_STR "[^"]+"}{__STRINGIFY(x) #x\n#define __STRINGIFY2(z) __STRINGIFY
275275
system(
276276
"perl -I ../catalog Gen_fmgrtab.pl ../../../src/include/catalog/pg_proc.h");
277277
chdir('..\..\..');
278+
}
279+
if (IsNewer('src\include\utils\fmgroids.h', 'src\backend\utils\fmgroids.h'))
280+
{
278281
copyFile('src\backend\utils\fmgroids.h',
279282
'src\include\utils\fmgroids.h');
280283
}

0 commit comments

Comments
 (0)