projects
/
users
/
simon
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
77fc553
)
Generate dummy probes.h for MSVC builds.
author
Andrew Dunstan
<andrew@dunslane.net>
Fri, 21 Mar 2008 02:50:02 +0000
(
02:50
+0000)
committer
Andrew Dunstan
<andrew@dunslane.net>
Fri, 21 Mar 2008 02:50:02 +0000
(
02:50
+0000)
src/tools/msvc/Solution.pm
patch
|
blob
|
blame
|
history
diff --git
a/src/tools/msvc/Solution.pm
b/src/tools/msvc/Solution.pm
index 3fc32356ffc3678e20ddf84051ce05a5adda8c3d..0ae5fa08bfa7ea26d042539e4a3ec64e526906c1 100644
(file)
--- 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";