_GNU_SOURCE

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: "Jeroen Ruigrok/asmodai" <asmodai(at)wxs(dot)nl>
Cc: PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org>
Subject: _GNU_SOURCE
Date: 2003-09-28 15:07:58
Message-ID: 200309281507.h8SF7w427106@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


Here is an email from the DBD:pg guys describing what _GNU_SOURCE does.

---------------------------------------------------------------------------

Jeroen Ruigrok/asmodai wrote:
> It's a glibc thing.
>
> Look at glibc's include/features.h:
>
> _GNU_SOURCE All of the above, plus GNU extensions.
>
> Which means it enables all this:
>
> __STRICT_ANSI__, _ISOC99_SOURCE, _POSIX_SOURCE, _POSIX_C_SOURCE,
> _XOPEN_SOURCE, _XOPEN_SOURCE_EXTENDED, _LARGEFILE_SOURCE,
> _LARGEFILE64_SOURCE, _FILE_OFFSET_BITS=N, _BSD_SOURCE, _SVID_SOURCE
>
> --
> Jeroen Ruigrok van der Werven <asmodai(at)wxs.nl> / asmodai / kita no mono
> PGP fingerprint: 2D92 980E 45FE 2C28 9DB7 9D88 97E6 839B 2EAC 625B
> http://www.tendra.org/ | http://www.in-nomine.org/~asmodai/diary/
> There is no greater sorrow than to recall, in misery, the time when we
> were happy...
>

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2003-09-28 15:36:54 Re: pgsql-server/src/backend catalog/index.c comma ...
Previous Message Bruce Momjian 2003-09-28 15:04:40 Re: pgsql-server/src/backend catalog/index.c comma ...