diff options
author | Andy Dougherty <doughera@lafayette.edu> | 1998-02-05 08:55:23 -0500 |
---|---|---|
committer | Malcolm Beattie <mbeattie@sable.ox.ac.uk> | 1998-02-06 17:24:57 +0000 |
commit | 84ef74c402afedb118ae96e8e20646cc0ffe6ff8 (patch) | |
tree | 33e66a1168fe2b67fb6674a31e62226d8694db29 /ext/POSIX | |
parent | 5e212cb5841accd06262f40bb6be04cdf60c87d6 (diff) | |
download | perl-84ef74c402afedb118ae96e8e20646cc0ffe6ff8.tar.gz |
Re: posix::strftime (core dumped)
p4raw-id: //depot/perl@481
Diffstat (limited to 'ext/POSIX')
-rw-r--r-- | ext/POSIX/hints/linux.pl | 5 | ||||
-rw-r--r-- | ext/POSIX/hints/sunos_4.pl | 6 |
2 files changed, 11 insertions, 0 deletions
diff --git a/ext/POSIX/hints/linux.pl b/ext/POSIX/hints/linux.pl new file mode 100644 index 0000000000..7994f24023 --- /dev/null +++ b/ext/POSIX/hints/linux.pl @@ -0,0 +1,5 @@ +# libc6, aka glibc2, seems to need STRUCT_TM_HASZONE defined. +# Thanks to Bart Schuller <schuller@Lunatech.com> +# See Message-ID: <19971009002636.50729@tanglefoot> +# XXX A Configure test is needed. +$self->{CCFLAGS} = $Config{ccflags} . ' -DSTRUCT_TM_HASZONE' ; diff --git a/ext/POSIX/hints/sunos_4.pl b/ext/POSIX/hints/sunos_4.pl new file mode 100644 index 0000000000..59b45bc4f2 --- /dev/null +++ b/ext/POSIX/hints/sunos_4.pl @@ -0,0 +1,6 @@ +# SunOS 4.1.3 has two extra fields in struct tm. This works around +# the problem. Other BSD platforms may have similar problems. +# This state of affairs also persists in glibc2, found +# on linux systems running libc6. +# XXX A Configure test is needed. +$self->{CCFLAGS} = $Config{ccflags} . ' -DSTRUCT_TM_HASZONE' ; |