Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
postgres-lambda-diff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Huber
postgres-lambda-diff
Commits
2969c01d
Commit
2969c01d
authored
24 years ago
by
Tatsuo Ishii
Browse files
Options
Downloads
Patches
Plain Diff
Remove gcc-only macro definition
parent
063c0f6b
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/backend/utils/mb/conv.c
+13
-1
13 additions, 1 deletion
src/backend/utils/mb/conv.c
src/include/mb/pg_wchar.h
+2
-2
2 additions, 2 deletions
src/include/mb/pg_wchar.h
with
15 additions
and
3 deletions
src/backend/utils/mb/conv.c
+
13
−
1
View file @
2969c01d
...
...
@@ -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.1
8
2000/10/
12 06:06
:5
0
ishii Exp $
* $Id: conv.c,v 1.1
9
2000/10/
27 02:23
:5
1
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
*/
...
...
This diff is collapsed.
Click to expand it.
src/include/mb/pg_wchar.h
+
2
−
2
View file @
2969c01d
/* $Id: pg_wchar.h,v 1.2
0
2000/10/2
5 19:44:43 tgl
Exp $ */
/* $Id: pg_wchar.h,v 1.2
1
2000/10/2
7 02:21:15 ishii
Exp $ */
#ifndef PG_WCHAR_H
#define PG_WCHAR_H
...
...
@@ -7,9 +7,9 @@
#include
<sys/types.h>
#ifdef FRONTEND
#define elog(X...)
#undef palloc
#define palloc malloc
# undef pfree
#define pfree free
#endif
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment