diff options
Diffstat (limited to 'src/timezone')
| -rw-r--r-- | src/timezone/Makefile | 4 | ||||
| -rw-r--r-- | src/timezone/pgtz.h | 12 |
2 files changed, 3 insertions, 13 deletions
diff --git a/src/timezone/Makefile b/src/timezone/Makefile index 5baa8b94d9..fa3b9dadff 100644 --- a/src/timezone/Makefile +++ b/src/timezone/Makefile @@ -4,7 +4,7 @@ # Makefile for the timezone library # IDENTIFICATION -# $PostgreSQL: pgsql/src/timezone/Makefile,v 1.19 2005/07/04 02:55:59 neilc Exp $ +# $PostgreSQL: pgsql/src/timezone/Makefile,v 1.20 2005/07/04 19:54:51 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 diff --git a/src/timezone/pgtz.h b/src/timezone/pgtz.h index 3354cfa8c8..986122efd3 100644 --- a/src/timezone/pgtz.h +++ b/src/timezone/pgtz.h @@ -9,7 +9,7 @@ * Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group * * IDENTIFICATION - * $PostgreSQL: pgsql/src/timezone/pgtz.h,v 1.13 2005/07/04 18:21:40 momjian Exp $ + * $PostgreSQL: pgsql/src/timezone/pgtz.h,v 1.14 2005/07/04 19: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)) |
