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

Commit9363b8b

Browse files
committed
MSVC: Rebuild spiexceptions.h when out of date.
Also, add a warning to catch future instances of naming a nonexistentfile as a prerequisite. Back-patch to 9.3 (all supported versions).
1 parentcbfffee commit9363b8b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎src/tools/msvc/Solution.pm

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ sub DeterminePlatform
8181
subIsNewer
8282
{
8383
my ($newfile,$oldfile) =@_;
84+
-e$oldfileorwarn"source file\"$oldfile\" does not exist";
8485
if ($oldfilene'src/tools/msvc/config.pl'
8586
&&$oldfilene'src/tools/msvc/config_default.pl')
8687
{
@@ -325,7 +326,7 @@ s{PG_VERSION_STR "[^"]+"}{PG_VERSION_STR "PostgreSQL $self->{strver}$extraver, c
325326
if ($self->{options}->{python}
326327
&& IsNewer(
327328
'src/pl/plpython/spiexceptions.h',
328-
'src/include/backend/errcodes.txt'))
329+
'src/backend/utils/errcodes.txt'))
329330
{
330331
print"Generating spiexceptions.h...\n";
331332
system(

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp