From 2645cb54cb2661bc44e57e93614012274af44937 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Sun, 8 Jan 2006 21:24:37 +0000 Subject: Fix the assert_enabled issue properly. This eliminates the former ABI difference between USE_ASSERT_CHECKING and not: the assert_enabled variable is always there. --- src/include/postgres.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/include/postgres.h') diff --git a/src/include/postgres.h b/src/include/postgres.h index b82cd2fa8b5..8d1a38941b8 100644 --- a/src/include/postgres.h +++ b/src/include/postgres.h @@ -10,7 +10,7 @@ * Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group * Portions Copyright (c) 1995, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/postgres.h,v 1.71 2005/04/14 01:38:21 tgl Exp $ + * $PostgreSQL: pgsql/src/include/postgres.h,v 1.72 2006/01/08 21:24:37 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -484,7 +484,6 @@ extern DLLIMPORT bool assert_enabled; /* * Trap * Generates an exception if the given condition is true. - * */ #define Trap(condition, errorType) \ do { \ @@ -510,7 +509,6 @@ extern DLLIMPORT bool assert_enabled; #define AssertMacro(condition) ((void)true) #define AssertArg(condition) #define AssertState(condition) -#define assert_enabled 0 #else #define Assert(condition) \ Trap(!(condition), "FailedAssertion") -- cgit v1.2.3