1
0
Fork 0
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:
Peter Howkins 2018-03-27 03:25:58 +01:00
parent d41d87be27
commit a6b5ef552f

View file

@ -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 */