Commit ae8b10b9 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

Check for MAXFLOAT if FLT_MAX isn't there.

parent 5696a09d
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment