Michael Fuhr wrote:
> A build of the latest CVS sources fails when compiling pgtz.c:
>
> gcc -O2 -fno-strict-aliasing -g -Wall -Wmissing-prototypes -Wmissing-declarations -DFRONTEND -I../../src/include
-I/usr/local/ssl/include -c -o pgtz.o pgtz.c
> pgtz.c: In function `get_timezone_offset':
> pgtz.c:99: error: `TIMEZONE_GLOBAL' undeclared (first use in this function)
>
> PostgreSQL 8.0.0beta2 (CVS)
> Solaris 9
> gcc 3.4.1
> gmake 3.80
> src/timezone/pgtz.c 1.28
> src/include/port.h 1.60
Wow, that is confusing. How could TIMEZONE_GLOBAL not be defined? Is
there some way port.h is not being included? If so I can't see it, and
it compiles here fine, which is strange. Your file version numbers
match mine though so you have all the versions I have.
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073