dtcalc: change from obsoleted MAXFLOAT to FLT_MAX from std C
This commit is contained in:
parent
d41d87be27
commit
a6b5ef552f
|
|
@ -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 */
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue