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
4f979e8b
Commit
4f979e8b
authored
19 years ago
by
Bruce Momjian
Browse files
Options
Downloads
Patches
Plain Diff
Restructure zic #define fprintf checks to use a NO_PGPORT macro instead.
parent
8a794511
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/include/port.h
+2
-2
2 additions, 2 deletions
src/include/port.h
src/timezone/Makefile
+2
-2
2 additions, 2 deletions
src/timezone/Makefile
src/timezone/pgtz.h
+1
-11
1 addition, 11 deletions
src/timezone/pgtz.h
with
5 additions
and
15 deletions
src/include/port.h
+
2
−
2
View file @
4f979e8b
...
...
@@ -6,7 +6,7 @@
* Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $PostgreSQL: pgsql/src/include/port.h,v 1.7
6
2005/0
6/27 02:04:25 neilc
Exp $
* $PostgreSQL: pgsql/src/include/port.h,v 1.7
7
2005/0
7/04 19:54:51 momjian
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -108,7 +108,7 @@ extern int pg_strncasecmp(const char *s1, const char *s2, size_t n);
extern
unsigned
char
pg_toupper
(
unsigned
char
ch
);
extern
unsigned
char
pg_tolower
(
unsigned
char
ch
);
#ifdef
USE_SNPRINTF
#if
def
ined(
USE_SNPRINTF
) && !defined(NO_PGPORT)
extern
int
pg_vsnprintf
(
char
*
str
,
size_t
count
,
const
char
*
fmt
,
va_list
args
);
extern
int
pg_snprintf
(
char
*
str
,
size_t
count
,
const
char
*
fmt
,...)
/* This extension allows gcc to check the format string */
...
...
This diff is collapsed.
Click to expand it.
src/timezone/Makefile
+
2
−
2
View file @
4f979e8b
...
...
@@ -4,7 +4,7 @@
# Makefile for the timezone library
# IDENTIFICATION
# $PostgreSQL: pgsql/src/timezone/Makefile,v 1.
19
2005/07/04
02
:5
5
:5
9 neilc
Exp $
# $PostgreSQL: pgsql/src/timezone/Makefile,v 1.
20
2005/07/04
19
:5
4
:5
1 momjian
Exp $
#
#-------------------------------------------------------------------------
...
...
@@ -12,7 +12,7 @@ subdir = src/timezone
top_builddir
=
../..
include
$(top_builddir)/src/Makefile.global
override
CPPFLAGS
:=
$(
CPPFLAGS
)
-I
$(
srcdir
)
override
CPPFLAGS
:=
$(
CPPFLAGS
)
-I
$(
srcdir
)
-DNO_PGPORT
# files to build into backend
OBJS
=
localtime.o strftime.o pgtz.o
...
...
This diff is collapsed.
Click to expand it.
src/timezone/pgtz.h
+
1
−
11
View file @
4f979e8b
...
...
@@ -9,7 +9,7 @@
* Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/timezone/pgtz.h,v 1.1
3
2005/07/04 1
8:21:40
momjian Exp $
* $PostgreSQL: pgsql/src/timezone/pgtz.h,v 1.1
4
2005/07/04 1
9:54:51
momjian Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -18,16 +18,6 @@
#include
"tzfile.h"
/*
* Prevent the use of /port functions because
* the are not included in this binary.
*/
#undef vsnprintf
#undef snprintf
#undef sprintf
#undef fprintf
#undef printf
extern
char
*
pg_TZDIR
(
void
);
#define BIGGEST(a, b) (((a) > (b)) ? (a) : (b))
...
...
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