From a6b5ef552f40304910e237e444181377cfa1f534 Mon Sep 17 00:00:00 2001 From: Peter Howkins Date: Tue, 27 Mar 2018 03:25:58 +0100 Subject: [PATCH] dtcalc: change from obsoleted MAXFLOAT to FLT_MAX from std C --- cde/programs/dtcalc/calctool.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cde/programs/dtcalc/calctool.h b/cde/programs/dtcalc/calctool.h index b9ed6065..5978a40b 100644 --- a/cde/programs/dtcalc/calctool.h +++ b/cde/programs/dtcalc/calctool.h @@ -32,6 +32,8 @@ * (c) Copyright 1993, 1994 Novell, Inc. * */ +#include + #include #include #include
@@ -93,7 +95,7 @@ extern char *_DtGetMessage(char *filename, int set, int n, char *s); #define PLOSS 6 #endif #ifndef HUGE -#define HUGE MAXFLOAT +#define HUGE FLT_MAX #endif #endif /* sun */ -- 2.25.1