From 4ad924c4988cfbe68b3a81c3647b0cced9fd2af3 Mon Sep 17 00:00:00 2001 From: John Malmberg Date: Wed, 1 Aug 2018 08:11:00 -0500 Subject: OpenVMS broken math.h fixes. --- custom.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'custom.h') diff --git a/custom.h b/custom.h index 90fd1f63..0ec8d1f9 100644 --- a/custom.h +++ b/custom.h @@ -38,6 +38,14 @@ #include "vms/redirect.h" #endif +/* OpenVMS has some definitions in fp.h that should be in math.h */ +/* From John Malmberg, wb8tyw@qsl.net */ +#ifdef __VMS +#include +/* isnan () macro is broken */ +#undef isnan +#endif + /* For QNX, based on submission from Michael Hunter, mphunter@qnx.com */ #ifdef __QNX__ #define GETPGRP_VOID 1 -- cgit v1.2.3