projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f48b9f9
)
Disable elog when linked with frontend.
author
Tatsuo Ishii
<ishii@postgresql.org>
Thu, 12 Oct 2000 07:36:51 +0000
(07:36 +0000)
committer
Tatsuo Ishii
<ishii@postgresql.org>
Thu, 12 Oct 2000 07:36:51 +0000
(07:36 +0000)
src/include/mb/pg_wchar.h
patch
|
blob
|
blame
|
history
diff --git
a/src/include/mb/pg_wchar.h
b/src/include/mb/pg_wchar.h
index 84534da6872c9743377f260e4f6f43487407e392..c879a4b9e9a8c6d53915fc3b4e362682c139d782 100644
(file)
--- a/
src/include/mb/pg_wchar.h
+++ b/
src/include/mb/pg_wchar.h
@@
-1,4
+1,4
@@
-/* $Id: pg_wchar.h,v 1.1
8 2000/10/12 06:08:28
ishii Exp $ */
+/* $Id: pg_wchar.h,v 1.1
9 2000/10/12 07:36:51
ishii Exp $ */
#ifndef PG_WCHAR_H
#define PG_WCHAR_H
@@
-6,6
+6,13
@@
#include "postgres.h"
#include <sys/types.h>
+#ifdef FRONTEND
+#define elog(X...)
+#undef palloc
+#define palloc malloc
+#define pfree free
+#endif
+
#define SQL_ASCII 0 /* SQL/ASCII */
#define EUC_JP 1 /* EUC for Japanese */
#define EUC_CN 2 /* EUC for Chinese */