set EDJE_EXTERNAL_DOUBLE_UNSET to DBL_MAX instead of HUGE_MAX, so that it's a constant on OpenBSD.

set EDJE_EXTERNAL_INT_UNSET to INT_MAX for consistency.

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


SVN revision: 49112
This commit is contained in:
kiwi 2010-05-21 19:28:33 +00:00 committed by kiwi
parent cec0aa3771
commit 0bc9b1cf55
1 changed files with 3 additions and 2 deletions

View 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
{