diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2013-02-01 17:50:04 -0300 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2013-02-01 17:50:04 -0300 |
commit | e1d25de35a2b1f809e8f8d7b182ce0af004f3ec9 (patch) | |
tree | 9edcd271d7553ad4fbda2f15ec06dda4f21815cc /src/include/postgres_fe.h | |
parent | dd1569da67937b819d1589a9f664af9aa9657945 (diff) | |
download | postgresql-e1d25de35a2b1f809e8f8d7b182ce0af004f3ec9.tar.gz postgresql-e1d25de35a2b1f809e8f8d7b182ce0af004f3ec9.zip |
Move Assert() definitions to c.h
This way, they can be used by frontend and backend code. We already
supported that, but doing it this way allows us to mix true frontend
files with backend files compiled in frontend environment.
Author: Andres Freund
Diffstat (limited to 'src/include/postgres_fe.h')
-rw-r--r-- | src/include/postgres_fe.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/include/postgres_fe.h b/src/include/postgres_fe.h index af31227b0ba..0f35eccc748 100644 --- a/src/include/postgres_fe.h +++ b/src/include/postgres_fe.h @@ -24,16 +24,4 @@ #include "c.h" -/* - * Assert() can be used in both frontend and backend code. In frontend code it - * just calls the standard assert, if it's available. If use of assertions is - * not configured, it does nothing. - */ -#ifdef USE_ASSERT_CHECKING -#include <assert.h> -#define Assert(p) assert(p) -#else -#define Assert(p) -#endif - #endif /* POSTGRES_FE_H */ |