Check for MAXFLOAT if FLT_MAX isn't there.

diff --git a/ole/variant.c b/ole/variant.c
index 7eaf58d..5ea1b7d 100644
--- a/ole/variant.c
+++ b/ole/variant.c
@@ -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;