Commit 40184eec authored by Tatsuo Ishii's avatar Tatsuo Ishii

Disable elog when linked with frontend.

parent f48b9f9e
/* $Id: pg_wchar.h,v 1.18 2000/10/12 06:08:28 ishii Exp $ */ /* $Id: pg_wchar.h,v 1.19 2000/10/12 07:36:51 ishii Exp $ */
#ifndef PG_WCHAR_H #ifndef PG_WCHAR_H
#define PG_WCHAR_H #define PG_WCHAR_H
...@@ -6,6 +6,13 @@ ...@@ -6,6 +6,13 @@
#include "postgres.h" #include "postgres.h"
#include <sys/types.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 SQL_ASCII 0 /* SQL/ASCII */
#define EUC_JP 1 /* EUC for Japanese */ #define EUC_JP 1 /* EUC for Japanese */
#define EUC_CN 2 /* EUC for Chinese */ #define EUC_CN 2 /* EUC for Chinese */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment