diff options
author | Tom Lane | 2007-09-27 19:53:44 +0000 |
---|---|---|
committer | Tom Lane | 2007-09-27 19:53:44 +0000 |
commit | 314ed5de6db214600595ddf46eacffb23d0a72e1 (patch) | |
tree | e5e71a0556b44d0b60d72d4e85681c867edb3391 /src/include | |
parent | 77c166ba6cf6fe8f7e9737b7fe1793d886dd5cf8 (diff) |
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
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/postgres_fe.h | 6 |
1 files changed, 5 insertions, 1 deletions
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 */ |