Add #define _GNU_SOURCE to work around what seems to be Perl 5.8.0's

problem.  Per recent discussions about plperl failing to build on Linux.
This commit is contained in:
Tom Lane 2002-11-07 22:09:51 +00:00
parent b02d3aaed7
commit 9a1ced2732
1 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,9 @@
/* Force _GNU_SOURCE on; plperl is broken with Perl 5.8.0 otherwise */
#ifndef _GNU_SOURCE
#define _GNU_SOURCE 1
#endif
#if defined(__i386__)
typedef unsigned char slock_t;