mirror of
https://github.com/postgres/postgres.git
synced 2025-11-18 02:02:55 +03:00
Move -D_GNU_SOURCE hack from port header to template, so that
configure's tests see the same compilation environment as the code. Per discussion with Stephan Szabo.
This commit is contained in:
@@ -1,9 +1,3 @@
|
||||
/* Force _GNU_SOURCE on; plperl is broken with Perl 5.8.0 otherwise */
|
||||
#ifndef _GNU_SOURCE
|
||||
#define _GNU_SOURCE 1
|
||||
#endif
|
||||
|
||||
|
||||
#if defined(__i386__) || defined(__x86_64__)
|
||||
typedef unsigned char slock_t;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user