mirror of
https://github.com/postgres/postgres.git
synced 2025-04-21 12:05:57 +03:00
Makefile cleaned up
async.c: #include <port-protos.h> surrounded by an #ifdef HAVE_STRDUP vacuum.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
This commit is contained in:
parent
e2d9501094
commit
9ef6b32c47
@ -4,16 +4,18 @@
|
||||
# Makefile for commands
|
||||
#
|
||||
# IDENTIFICATION
|
||||
# $Header: /cvsroot/pgsql/src/backend/commands/Makefile,v 1.8 1997/12/04 00:26:44 scrappy Exp $
|
||||
# $Header: /cvsroot/pgsql/src/backend/commands/Makefile,v 1.9 1997/12/17 04:44:47 scrappy Exp $
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
|
||||
SRCDIR = ../..
|
||||
include ../../Makefile.global
|
||||
|
||||
INCLUDE_OPT = -I.. \
|
||||
-I../port/$(PORTNAME) \
|
||||
-I../../include
|
||||
INCLUDE_OPT = -I..
|
||||
|
||||
ifdef PORTNAME
|
||||
INCLUDE_OPT+=-I../port/$(PORTNAME)
|
||||
endif
|
||||
|
||||
CFLAGS+=$(INCLUDE_OPT)
|
||||
|
||||
|
@ -7,7 +7,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/commands/async.c,v 1.25 1997/12/06 22:56:24 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/commands/async.c,v 1.26 1997/12/17 04:44:49 scrappy Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -82,7 +82,9 @@
|
||||
#include <commands/async.h>
|
||||
#include <libpq/libpq.h>
|
||||
|
||||
#ifndef HAVE_STRDUP
|
||||
# include <port-protos.h> /* for strdup() */
|
||||
#endif
|
||||
|
||||
#include <storage/lmgr.h>
|
||||
|
||||
|
@ -7,7 +7,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/commands/vacuum.c,v 1.53 1997/11/25 21:59:09 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/commands/vacuum.c,v 1.54 1997/12/17 04:44:50 scrappy Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -54,7 +54,7 @@
|
||||
#include <sys/resource.h>
|
||||
#endif
|
||||
|
||||
#include <port-protos.h>
|
||||
/* #include <port-protos.h> */
|
||||
|
||||
extern int BlowawayRelationBuffers(Relation rdesc, BlockNumber block);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user