Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit458c585

Browse files
committed
Generate dummy probes.h for MSVC builds.
1 parent2d0583a commit458c585

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

‎src/tools/msvc/Solution.pm

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package Solution;
33
#
44
# Package that encapsulates a Visual C++ solution file generation
55
#
6-
# $PostgreSQL: pgsql/src/tools/msvc/Solution.pm,v 1.36 2008/02/28 12:17:59 mha Exp $
6+
# $PostgreSQL: pgsql/src/tools/msvc/Solution.pm,v 1.37 2008/03/21 02:50:02 adunstan Exp $
77
#
88
use Carp;
99
use strict;
@@ -205,6 +205,12 @@ s{PG_VERSION_STR "[^"]+"}{__STRINGIFY(x) #x\n#define __STRINGIFY2(z) __STRINGIFY
205205
close(T);
206206
}
207207

208+
if (IsNewer('src\include\utils\probes.h','src\backend\utils\pg_trace.d'))
209+
{
210+
print"Generating probes.h...\n";
211+
system('psed -f src\backend\utils\Gen_dummy_probes.sed src\backend\utils\probes.d > src\include\utils\probes.h');
212+
}
213+
208214
if (IsNewer('src\interfaces\libpq\libpq.rc','src\interfaces\libpq\libpq.rc.in'))
209215
{
210216
print"Generating libpq.rc...\n";

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp