projects
/
users
/
rhaas
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b02d3aa
)
Add #define _GNU_SOURCE to work around what seems to be Perl 5.8.0's
author
Tom Lane
<tgl@sss.pgh.pa.us>
Thu, 7 Nov 2002 22:09:51 +0000
(22:09 +0000)
committer
Tom Lane
<tgl@sss.pgh.pa.us>
Thu, 7 Nov 2002 22:09:51 +0000
(22:09 +0000)
problem. Per recent discussions about plperl failing to build on Linux.
src/include/port/linux.h
patch
|
blob
|
blame
|
history
diff --git
a/src/include/port/linux.h
b/src/include/port/linux.h
index c5d58489ba1d3bf296c352a964398aa162fe2833..d4da17da45cb08d939992086b786037e9b1926ca 100644
(file)
--- a/
src/include/port/linux.h
+++ b/
src/include/port/linux.h
@@
-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;