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

Commit9ef6b32

Browse files
committed
Makefile cleaned up
async.c: #include <port-protos.h> surrounded by an #ifdef HAVE_STRDUPvacuum.c: #include <port-protos.h> commented out...can someone comment as to why it was included, as it doesn't seem to have any effect under FreeBSD so far...would like some sort of #ifdef wrapper like async.c if possible
1 parente2d9501 commit9ef6b32

File tree

3 files changed

+12
-8
lines changed

3 files changed

+12
-8
lines changed

‎src/backend/commands/Makefile

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,18 @@
44
# Makefile for commands
55
#
66
# IDENTIFICATION
7-
# $Header: /cvsroot/pgsql/src/backend/commands/Makefile,v 1.8 1997/12/04 00:26:44 scrappy Exp $
7+
# $Header: /cvsroot/pgsql/src/backend/commands/Makefile,v 1.9 1997/12/17 04:44:47 scrappy Exp $
88
#
99
#-------------------------------------------------------------------------
1010

1111
SRCDIR = ../..
1212
include ../../Makefile.global
1313

14-
INCLUDE_OPT = -I..\
15-
-I../port/$(PORTNAME)\
16-
-I../../include
14+
INCLUDE_OPT = -I..
15+
16+
ifdefPORTNAME
17+
INCLUDE_OPT+=-I../port/$(PORTNAME)
18+
endif
1719

1820
CFLAGS+=$(INCLUDE_OPT)
1921

‎src/backend/commands/async.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/commands/async.c,v 1.25 1997/12/06 22:56:24 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/commands/async.c,v 1.26 1997/12/17 04:44:49 scrappy Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -82,7 +82,9 @@
8282
#include<commands/async.h>
8383
#include<libpq/libpq.h>
8484

85-
#include<port-protos.h>/* for strdup() */
85+
#ifndefHAVE_STRDUP
86+
# include<port-protos.h>/* for strdup() */
87+
#endif
8688

8789
#include<storage/lmgr.h>
8890

‎src/backend/commands/vacuum.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/commands/vacuum.c,v 1.53 1997/11/25 21:59:09 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/commands/vacuum.c,v 1.54 1997/12/17 04:44:50 scrappy Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -54,7 +54,7 @@
5454
#include<sys/resource.h>
5555
#endif
5656

57-
#include<port-protos.h>
57+
/*#include <port-protos.h> */
5858

5959
externintBlowawayRelationBuffers(Relationrdesc,BlockNumberblock);
6060

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp