set EDJE_EXTERNAL_DOUBLE_UNSET to DBL_MAX instead of HUGE_MAX, so that it's a constan...
authorkiwi <kiwi>
Fri, 21 May 2010 19:28:33 +0000 (19:28 +0000)
committerkiwi <kiwi@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 21 May 2010 19:28:33 +0000 (19:28 +0000)
set EDJE_EXTERNAL_INT_UNSET to INT_MAX for consistency.

that fixes compilation on OpenBSD and closes ticket #540
ok vtorri

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@49112 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/Edje.h

index bdd4bf8..819a8bc 100644 (file)
@@ -3,6 +3,7 @@
 
 #include <stdint.h>
 #include <math.h>
+#include <float.h>
 
 #include <Evas.h>
 
@@ -266,8 +267,8 @@ struct _Edje_External_Param
 };
 typedef struct _Edje_External_Param Edje_External_Param;
 
-#define EDJE_EXTERNAL_INT_UNSET 0xffffffff
-#define EDJE_EXTERNAL_DOUBLE_UNSET HUGE_VAL
+#define EDJE_EXTERNAL_INT_UNSET INT_MAX
+#define EDJE_EXTERNAL_DOUBLE_UNSET DBL_MAX
 
 struct _Edje_External_Param_Info
 {