diff options
author | Andrew Dunstan | 2008-03-21 02:50:02 +0000 |
---|---|---|
committer | Andrew Dunstan | 2008-03-21 02:50:02 +0000 |
commit | b6d1e45065d26e1604056dc9cea8b0df3713aedf (patch) | |
tree | ecdf3f4e8e3913c203854a404ff2c23f2bc02cba | |
parent | 77fc553b8bf3bf41207409793e6d2139a3db4498 (diff) |
Generate dummy probes.h for MSVC builds.
-rw-r--r-- | src/tools/msvc/Solution.pm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/tools/msvc/Solution.pm b/src/tools/msvc/Solution.pm index 3fc32356ff..0ae5fa08bf 100644 --- a/src/tools/msvc/Solution.pm +++ b/src/tools/msvc/Solution.pm @@ -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"; |