mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 04:39:45 +00:00
Check for MAXFLOAT if FLT_MAX isn't there.
This commit is contained in:
parent
5696a09dcc
commit
ae8b10b96a
@ -31,6 +31,17 @@
|
||||
#include <math.h>
|
||||
#include <time.h>
|
||||
|
||||
#ifdef HAVE_FLOAT_H
|
||||
# include <float.h>
|
||||
#endif
|
||||
|
||||
#ifndef FLT_MAX
|
||||
# ifdef MAXFLOAT
|
||||
# define FLT_MAX MAXFLOAT
|
||||
# else
|
||||
# error "Can't find #define for MAXFLOAT/FLT_MAX"
|
||||
# endif
|
||||
#endif
|
||||
|
||||
static const char CHAR_MAX = 127;
|
||||
static const char CHAR_MIN = -128;
|
||||
|
Loading…
Reference in New Issue
Block a user