From c1f856a17fc52a15cd6169146b66664291b0ca5f Mon Sep 17 00:00:00 2001 From: Magnus Hagander Date: Sun, 16 Dec 2012 14:56:51 +0100 Subject: [PATCH] Properly copy fmgroids.h after clean on Win32 Craig Ringer --- src/tools/msvc/Solution.pm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/tools/msvc/Solution.pm b/src/tools/msvc/Solution.pm index d7dbc5de5c..850a1dfabc 100644 --- a/src/tools/msvc/Solution.pm +++ b/src/tools/msvc/Solution.pm @@ -275,6 +275,9 @@ s{PG_VERSION_STR "[^"]+"}{__STRINGIFY(x) #x\n#define __STRINGIFY2(z) __STRINGIFY system( "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')) + { copyFile('src\backend\utils\fmgroids.h', 'src\include\utils\fmgroids.h'); } -- 2.40.0