aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrew Dunstan <andrew@dunslane.net>2008-03-21 02:50:02 +0000
committerAndrew Dunstan <andrew@dunslane.net>2008-03-21 02:50:02 +0000
commit458c58569760e680e4622b14c7754c4af82dfcdd (patch)
tree2bab74e194f07de855242e1eaae5eaf760a0a7ae /src
parent2d0583a166402cbed19ba2b85b6c0b9240cff563 (diff)
downloadpostgresql-458c58569760e680e4622b14c7754c4af82dfcdd.tar.gz
postgresql-458c58569760e680e4622b14c7754c4af82dfcdd.zip
Generate dummy probes.h for MSVC builds.
Diffstat (limited to 'src')
-rw-r--r--src/tools/msvc/Solution.pm8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/tools/msvc/Solution.pm b/src/tools/msvc/Solution.pm
index d58169c0665..e07a91c8a51 100644
--- a/src/tools/msvc/Solution.pm
+++ b/src/tools/msvc/Solution.pm
@@ -3,7 +3,7 @@ package Solution;
#
# Package that encapsulates a Visual C++ solution file generation
#
-# $PostgreSQL: pgsql/src/tools/msvc/Solution.pm,v 1.36 2008/02/28 12:17:59 mha Exp $
+# $PostgreSQL: pgsql/src/tools/msvc/Solution.pm,v 1.37 2008/03/21 02:50:02 adunstan Exp $
#
use Carp;
use strict;
@@ -205,6 +205,12 @@ s{PG_VERSION_STR "[^"]+"}{__STRINGIFY(x) #x\n#define __STRINGIFY2(z) __STRINGIFY
close(T);
}
+ if (IsNewer('src\include\utils\probes.h','src\backend\utils\pg_trace.d'))
+ {
+ 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');
+ }
+
if (IsNewer('src\interfaces\libpq\libpq.rc','src\interfaces\libpq\libpq.rc.in'))
{
print "Generating libpq.rc...\n";