aboutsummaryrefslogtreecommitdiff
path: root/src/include/postgres.h
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2006-07-13 16:49:20 +0000
committerBruce Momjian <bruce@momjian.us>2006-07-13 16:49:20 +0000
commita22d76d96adaa98ab20de290a1b710a199805ddc (patch)
tree0c54c219cae248d98b5fffb1189ac5af559468b7 /src/include/postgres.h
parent70e2e3d8b1189c2c74007b39137ba475ae9f1cbb (diff)
downloadpostgresql-a22d76d96adaa98ab20de290a1b710a199805ddc.tar.gz
postgresql-a22d76d96adaa98ab20de290a1b710a199805ddc.zip
Allow include files to compile own their own.
Strip unused include files out unused include files, and add needed includes to C files. The next step is to remove unused include files in C files.
Diffstat (limited to 'src/include/postgres.h')
-rw-r--r--src/include/postgres.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/include/postgres.h b/src/include/postgres.h
index fbbf35f285b..f9164e3cca7 100644
--- a/src/include/postgres.h
+++ b/src/include/postgres.h
@@ -10,7 +10,7 @@
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
* Portions Copyright (c) 1995, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/include/postgres.h,v 1.74 2006/03/05 15:58:53 momjian Exp $
+ * $PostgreSQL: pgsql/src/include/postgres.h,v 1.75 2006/07/13 16:49:18 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -486,11 +486,11 @@ extern DLLIMPORT bool assert_enabled;
* Generates an exception if the given condition is true.
*/
#define Trap(condition, errorType) \
- do { \
- if ((assert_enabled) && (condition)) \
- ExceptionalCondition(CppAsString(condition), (errorType), \
- __FILE__, __LINE__); \
- } while (0)
+ do { \
+ if ((assert_enabled) && (condition)) \
+ ExceptionalCondition(CppAsString(condition), (errorType), \
+ __FILE__, __LINE__); \
+ } while (0)
/*
* TrapMacro is the same as Trap but it's intended for use in macros: