forked from enlightenment/efl
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:
parent
cec0aa3771
commit
0bc9b1cf55
|
@ -3,6 +3,7 @@
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
#include <float.h>
|
||||||
|
|
||||||
#include <Evas.h>
|
#include <Evas.h>
|
||||||
|
|
||||||
|
@ -266,8 +267,8 @@ struct _Edje_External_Param
|
||||||
};
|
};
|
||||||
typedef struct _Edje_External_Param Edje_External_Param;
|
typedef struct _Edje_External_Param Edje_External_Param;
|
||||||
|
|
||||||
#define EDJE_EXTERNAL_INT_UNSET 0xffffffff
|
#define EDJE_EXTERNAL_INT_UNSET INT_MAX
|
||||||
#define EDJE_EXTERNAL_DOUBLE_UNSET HUGE_VAL
|
#define EDJE_EXTERNAL_DOUBLE_UNSET DBL_MAX
|
||||||
|
|
||||||
struct _Edje_External_Param_Info
|
struct _Edje_External_Param_Info
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue