From 2969c01d55f96d84c3e493fa69845affe6f12fdc Mon Sep 17 00:00:00 2001 From: Tatsuo Ishii Date: Fri, 27 Oct 2000 02:23:51 +0000 Subject: Remove gcc-only macro definition --- src/backend/utils/mb/conv.c | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'src/backend/utils/mb/conv.c') diff --git a/src/backend/utils/mb/conv.c b/src/backend/utils/mb/conv.c index d55bedcd393..ff7375df0dd 100644 --- a/src/backend/utils/mb/conv.c +++ b/src/backend/utils/mb/conv.c @@ -6,7 +6,7 @@ * WIN1250 client encoding support contributed by Pavel Behal * SJIS UDC (NEC selection IBM kanji) support contributed by Eiji Tokuya * - * $Id: conv.c,v 1.18 2000/10/12 06:06:50 ishii Exp $ + * $Id: conv.c,v 1.19 2000/10/27 02:23:51 ishii Exp $ * * */ @@ -16,6 +16,18 @@ #include "mb/pg_wchar.h" +/* + * XXX dummy elog() function for frontend only. Note that elog would + * never be called from frontend, but to avoid the linking errors we + * have to do it anyway. In the future, we should consider reorganizing + * sources in this directory to avoid this kind of ugliness... +*/ + +#ifdef FRONTEND +static void +elog(int lev, const char *fmt, ...) {} +#endif + /* * for Unicode (UTF-8) support */ -- cgit v1.2.3