File tree 2 files changed +15
-3
lines changed
2 files changed +15
-3
lines changed Original file line number Diff line number Diff line change 6
6
* WIN1250 client encoding support contributed by Pavel Behal
7
7
* SJIS UDC (NEC selection IBM kanji) support contributed by Eiji Tokuya
8
8
*
9
- * $Id: conv.c,v 1.18 2000/10/12 06:06:50 ishii Exp $
9
+ * $Id: conv.c,v 1.19 2000/10/27 02:23:51 ishii Exp $
10
10
*
11
11
*
12
12
*/
16
16
17
17
#include "mb/pg_wchar.h"
18
18
19
+ /*
20
+ * XXX dummy elog() function for frontend only. Note that elog would
21
+ * never be called from frontend, but to avoid the linking errors we
22
+ * have to do it anyway. In the future, we should consider reorganizing
23
+ * sources in this directory to avoid this kind of ugliness...
24
+ */
25
+
26
+ #ifdef FRONTEND
27
+ static void
28
+ elog (int lev , const char * fmt , ...) {}
29
+ #endif
30
+
19
31
/*
20
32
* for Unicode (UTF-8) support
21
33
*/
Original file line number Diff line number Diff line change 1
- /* $Id: pg_wchar.h,v 1.20 2000/10/25 19:44:43 tgl Exp $ */
1
+ /* $Id: pg_wchar.h,v 1.21 2000/10/27 02:21:15 ishii Exp $ */
2
2
3
3
#ifndef PG_WCHAR_H
4
4
#define PG_WCHAR_H
7
7
#include <sys/types.h>
8
8
9
9
#ifdef FRONTEND
10
- #define elog (X ...)
11
10
#undef palloc
12
11
#define palloc malloc
12
+ # undef pfree
13
13
#define pfree free
14
14
#endif
15
15
You can’t perform that action at this time.
0 commit comments