summaryrefslogtreecommitdiff
path: root/vms
diff options
context:
space:
mode:
Diffstat (limited to 'vms')
-rw-r--r--vms/vmsish.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/vms/vmsish.h b/vms/vmsish.h
index f43001357b..fcfd03fa20 100644
--- a/vms/vmsish.h
+++ b/vms/vmsish.h
@@ -791,4 +791,8 @@ char * my_getlogin (void);
#define PERL_RMSEXPAND_M_VMS_IN 0x08 /* Assume input is VMS already */
#define PERL_RMSEXPAND_M_SYMLINK 0x20 /* Use symbolic link, not target */
+/* With long doubles, NaN == NaN, which it shouldn't. */
+#ifdef USE_LONG_DOUBLE
+# define NAN_COMPARE_BROKEN 1
+#endif
#endif /* __vmsish_h_included */