From 314ed5de6db214600595ddf46eacffb23d0a72e1 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Thu, 27 Sep 2007 19:53:44 +0000 Subject: Define the FRONTEND symbol in postgres_fe.h, which allows us to eliminate duplicative -DFRONTEND flags from many Makefiles. We still need Makefile control of the symbol in a few places that compile frontend-or-backend src/port/ files, but it's a lot cleaner than before. Hiroshi Saito --- src/include/postgres_fe.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/include/postgres_fe.h') diff --git a/src/include/postgres_fe.h b/src/include/postgres_fe.h index 1b09c639a0..f9744aab6b 100644 --- a/src/include/postgres_fe.h +++ b/src/include/postgres_fe.h @@ -11,13 +11,17 @@ * Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group * Portions Copyright (c) 1995, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/postgres_fe.h,v 1.12 2007/01/05 22:19:50 momjian Exp $ + * $PostgreSQL: pgsql/src/include/postgres_fe.h,v 1.13 2007/09/27 19:53:44 tgl Exp $ * *------------------------------------------------------------------------- */ #ifndef POSTGRES_FE_H #define POSTGRES_FE_H +#ifndef FRONTEND +#define FRONTEND 1 +#endif + #include "c.h" #endif /* POSTGRES_FE_H */ -- cgit v1.2.1