diff options
author | Malcolm Beattie <mbeattie@sable.ox.ac.uk> | 1998-04-02 15:25:18 +0000 |
---|---|---|
committer | Malcolm Beattie <mbeattie@sable.ox.ac.uk> | 1998-04-02 15:25:18 +0000 |
commit | dc45a647708b6c5442e1362e6b6e7a2583c30346 (patch) | |
tree | 77eb71f3ede3b243141f6874d47e94606370b5f1 /ext/POSIX | |
parent | 67ce88566282df78bad77aeb9c4b93768bda70aa (diff) | |
download | perl-dc45a647708b6c5442e1362e6b6e7a2583c30346.tar.gz |
Andy Dougherty's configuration patches (Config_63-01 up to 04).
p4raw-id: //depot/perl@845
Diffstat (limited to 'ext/POSIX')
-rw-r--r-- | ext/POSIX/POSIX.xs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/ext/POSIX/POSIX.xs b/ext/POSIX/POSIX.xs index 817ef1130b..922438dca5 100644 --- a/ext/POSIX/POSIX.xs +++ b/ext/POSIX/POSIX.xs @@ -268,7 +268,13 @@ init_tm(ptm) /* see mktime, strftime and asctime */ #endif -#ifndef HAS_LONG_DOUBLE /* XXX What to do about long doubles? */ +#ifdef HAS_LONG_DOUBLE +# if LONG_DOUBLESIZE > DOUBLESIZE +# undef HAS_LONG_DOUBLE /* XXX until we figure out how to use them */ +# endif +#endif + +#ifndef HAS_LONG_DOUBLE #ifdef LDBL_MAX #undef LDBL_MAX #endif |