aboutsummaryrefslogtreecommitdiff
path: root/src/backend/main/main.c
diff options
context:
space:
mode:
authorMarc G. Fournier <scrappy@hub.org>1997-12-19 02:09:10 +0000
committerMarc G. Fournier <scrappy@hub.org>1997-12-19 02:09:10 +0000
commit5379b84eff3ae207635d7ac9527b0a3f5eb272e7 (patch)
tree84d6a71200ffe5edf43596bc2fbf3276737e086a /src/backend/main/main.c
parent30856a390457682db4f8577e9f5a7f8521839c6f (diff)
downloadpostgresql-5379b84eff3ae207635d7ac9527b0a3f5eb272e7.tar.gz
postgresql-5379b84eff3ae207635d7ac9527b0a3f5eb272e7.zip
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 :)
Diffstat (limited to 'src/backend/main/main.c')
-rw-r--r--src/backend/main/main.c6
1 files changed, 4 insertions, 2 deletions
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\