diff options
author | Alexander Gough <alex-p5p@earth.li> | 2007-10-08 14:10:04 +0100 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2007-10-08 13:16:44 +0000 |
commit | be8a15fc9d0d9428f2fb14cc2ecbc0306b52e030 (patch) | |
tree | c71b2619de18721fed1e911d152e63f26cb30962 /qnx/qnx.c | |
parent | ba6d381e35d7a4367cfc2727a0ef431f4f967401 (diff) | |
download | perl-be8a15fc9d0d9428f2fb14cc2ecbc0306b52e030.tar.gz |
Time::Piece & matherr on qnx4
Message-ID: <20071008121004.GB24241@the.earth.li>
Plus, bump version number of Time::Piece to 1.11_03
p4raw-id: //depot/perl@32069
Diffstat (limited to 'qnx/qnx.c')
-rw-r--r-- | qnx/qnx.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/qnx/qnx.c b/qnx/qnx.c new file mode 100644 index 0000000000..6c819e3209 --- /dev/null +++ b/qnx/qnx.c @@ -0,0 +1,11 @@ +/* If we're compiling with watcom, we want to silence domain errors */ +#if defined(__QNX__) && defined(__WATCOMC__) +#include <math.h> + +/* Return default value and print no error message */ +int matherr( struct exception *err ) + { + return 1; + } + +#endif |