Re: PL/Perl and Perl 5.8

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Neil Conway <neilc(at)samurai(dot)com>, Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: PL/Perl and Perl 5.8
Date: 2002-11-06 22:07:13
Message-ID: Pine.LNX.4.44.0211061819220.1018-100000@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane writes:

> I'm guessing that what we need to do is -D_GNU_SOURCE somewhere in the
> Makefiles; the $64 question is exactly where (can we restrict it to
> src/pl/plperl?) and what conditions should cause the Makefiles to add
> it? Do we want a configure test?

The simplest choice would be to just define it unconditionally in linux.h.
Since it is not supposed to change any interfaces, just add new ones, this
should be safe. If you don't believe that, then we really need to test
and define _GNU_SOURCE early in configure so the following tests can take
it into account. In either case, the command line is not the place for
it.

--
Peter Eisentraut peter_e(at)gmx(dot)net

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2002-11-06 23:33:32 Re: Win32 port
Previous Message alex avriette 2002-11-06 21:51:15 problem building pg 7.3 beta 3 on solaris 8 -m64