diff options
Diffstat (limited to 'qnx')
-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 |