pike.git/
src/
svalue.h
Branch:
Tag:
Non-build tags
All tags
No tags
2013-08-14
2013-08-14 09:21:35 by Marcus Comstedt <marcus@mc.pp.se>
38bb461282c27dab03de343cb3abf46987e2484c (
11
lines) (+
9
/-
2
)
[
Show
|
Annotate
]
Branch:
7.9
svalue_int_one: Must be non-const if union init is unavailable
363:
#define FUNCTION_BUILTIN USHRT_MAX
-
extern PMOD_EXPORT const struct svalue svalue_undefined,
-
svalue_int_
zero
, svalue_int_one;
+
extern PMOD_EXPORT const struct svalue svalue_undefined,
svalue_int_zero;
+
#ifdef
HAVE_UNION_INIT
+
extern
PMOD_EXPORT const struct
svalue
svalue
_int_
one;
+
#else
+
/* If union initializers are unavailable
,
+
svalue_int_one
needs to be assignable. */
+
extern PMOD_EXPORT struct svalue svalue_int_one
;
+
#endif
#define is_gt(a,b) is_lt(b,a) #define is_ge(a,b) is_le(b,a)