Skip to content

Commit 40184ee

Browse files
committed
Disable elog when linked with frontend.
1 parent f48b9f9 commit 40184ee

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/include/mb/pg_wchar.h

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,18 @@
1-
/* $Id: pg_wchar.h,v 1.18 2000/10/12 06:08:28 ishii Exp $ */
1+
/* $Id: pg_wchar.h,v 1.19 2000/10/12 07:36:51 ishii Exp $ */
22

33
#ifndef PG_WCHAR_H
44
#define PG_WCHAR_H
55

66
#include "postgres.h"
77
#include <sys/types.h>
88

9+
#ifdef FRONTEND
10+
#define elog(X...)
11+
#undef palloc
12+
#define palloc malloc
13+
#define pfree free
14+
#endif
15+
916
#define SQL_ASCII 0 /* SQL/ASCII */
1017
#define EUC_JP 1 /* EUC for Japanese */
1118
#define EUC_CN 2 /* EUC for Chinese */

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy