diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2000-01-18 21:11:03 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2000-01-18 21:11:03 +0000 |
commit | 7378db636b1c0fa8b39f6d29dad3d3317078390a (patch) | |
tree | 0ce5b288eee489f353fdbe04d26d58a70ed08048 /config_h.SH | |
parent | 937ac62973962e581beb247806765a1e2a1bc3a3 (diff) | |
download | perl-7378db636b1c0fa8b39f6d29dad3d3317078390a.tar.gz |
Move _GNU_SOURCE into config_h.SH awaay from Configure
as suggested by Andy.
p4raw-id: //depot/cfgperl@4815
Diffstat (limited to 'config_h.SH')
-rw-r--r-- | config_h.SH | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/config_h.SH b/config_h.SH index 712b38e73c..f5f4bc952b 100644 --- a/config_h.SH +++ b/config_h.SH @@ -1547,6 +1547,9 @@ sed <<!GROK!THIS! >config.h -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un- * the GNU C library is being used. */ #$d_gnulibc HAS_GNULIBC /**/ +#if defined(HAS_GNULIBC) && !defined(_GNU_SOURCE) +# define _GNU_SOURCE +#endif /* HAS_HASMNTOPT: * This symbol, if defined, indicates that the hasmntopt routine is * available to query the mount options of file systems. |