probes.h is generated from probes.d, not pg_trace.d.

This commit is contained in:
Magnus Hagander 2008-08-16 12:42:27 +00:00
parent 58e8f9630a
commit 19c1e68e16
1 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@ package Solution;
# #
# Package that encapsulates a Visual C++ solution file generation # Package that encapsulates a Visual C++ solution file generation
# #
# $PostgreSQL: pgsql/src/tools/msvc/Solution.pm,v 1.43 2008/06/24 01:15:36 tgl Exp $ # $PostgreSQL: pgsql/src/tools/msvc/Solution.pm,v 1.44 2008/08/16 12:42:27 mha Exp $
# #
use Carp; use Carp;
use strict; use strict;
@ -207,7 +207,7 @@ s{PG_VERSION_STR "[^"]+"}{__STRINGIFY(x) #x\n#define __STRINGIFY2(z) __STRINGIFY
copyFile('src\backend\utils\fmgroids.h','src\include\utils\fmgroids.h'); copyFile('src\backend\utils\fmgroids.h','src\include\utils\fmgroids.h');
} }
if (IsNewer('src\include\utils\probes.h','src\backend\utils\pg_trace.d')) if (IsNewer('src\include\utils\probes.h','src\backend\utils\probes.d'))
{ {
print "Generating probes.h...\n"; print "Generating probes.h...\n";
system('psed -f src\backend\utils\Gen_dummy_probes.sed src\backend\utils\probes.d > src\include\utils\probes.h'); system('psed -f src\backend\utils\Gen_dummy_probes.sed src\backend\utils\probes.d > src\include\utils\probes.h');