From 5379b84eff3ae207635d7ac9527b0a3f5eb272e7 Mon Sep 17 00:00:00 2001 From: "Marc G. Fournier" Date: Fri, 19 Dec 1997 02:09:10 +0000 Subject: More cleanups. I can now compile without PORTNAME being defined n Makefile.global. End result, if all goes well, should allow for much easier porting, since there will no longer be a concept of a "port". Most, if not everything, *should* be determined by configure, or by the compiler itself. Still work to be done though :) --- src/backend/main/main.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/backend/main/main.c') diff --git a/src/backend/main/main.c b/src/backend/main/main.c index 969519c050f..2777ff061db 100644 --- a/src/backend/main/main.c +++ b/src/backend/main/main.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/main/main.c,v 1.10 1997/12/17 04:59:10 scrappy Exp $ + * $Header: /cvsroot/pgsql/src/backend/main/main.c,v 1.11 1997/12/19 02:05:42 scrappy Exp $ * *------------------------------------------------------------------------- */ @@ -22,7 +22,9 @@ #include "miscadmin.h" #include "bootstrap/bootstrap.h"/* for BootstrapMain() */ #include "tcop/tcopprot.h" /* for PostgresMain() */ -/* #include "port-protos.h" */ /* for init_address_fixup() */ +#if defined(NOFIXADE) || defined(NOPRINTADE) +# include "port-protos.h" /* for init_address_fixup() */ +#endif #define NOROOTEXEC "\ \n\"root\" execution of the PostgreSQL backend is not permitted\n\n\ -- cgit v1.2.3