projects
/
oweals
/
cde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d41d87b
)
dtcalc: change from obsoleted MAXFLOAT to FLT_MAX from std C
author
Peter Howkins
<flibble@users.sf.net>
Tue, 27 Mar 2018 02:25:58 +0000
(
03:25
+0100)
committer
Peter Howkins
<flibble@users.sf.net>
Tue, 27 Mar 2018 02:25:58 +0000
(
03:25
+0100)
cde/programs/dtcalc/calctool.h
patch
|
blob
|
history
diff --git
a/cde/programs/dtcalc/calctool.h
b/cde/programs/dtcalc/calctool.h
index b9ed6065a55a8cfd2589e59f2b91da8115ed6edb..5978a40b309ce562d019dee3b51701b3091632d2 100644
(file)
--- a/
cde/programs/dtcalc/calctool.h
+++ b/
cde/programs/dtcalc/calctool.h
@@
-32,6
+32,8
@@
* (c) Copyright 1993, 1994 Novell, Inc. *
*/
+#include <float.h>
+
#include <locale.h>
#include <X11/Intrinsic.h>
#include <Dt/UserMsg.h>
@@
-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 */