mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-15 04:32:24 +00:00
dtcalc: change from obsoleted MAXFLOAT to FLT_MAX from std C
This commit is contained in:
parent
d41d87be27
commit
a6b5ef552f
1 changed files with 3 additions and 1 deletions
|
@ -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 a new issue