pike.git/
src/
svalue.h
Branch:
Tag:
Non-build tags
All tags
No tags
2014-06-24
2014-06-24 21:28:28 by Henrik Grubbström (Grubba) <grubba@grubba.org>
6d89d1a6569139653d618dc49e8cebd3b4ff3cda (
11
lines) (+
11
/-
0
)
[
Show
|
Annotate
]
Branch:
8.0
Build: Fixed support for combined type_subtype on 64-bit big-endian.
99:
unsigned short type; /**< the data type, see PIKE_T_... */ unsigned short subtype; /**< used to store the zero type, among others */ } t;
+
#if PIKE_BYTEORDER == 1234
ptrdiff_t type_subtype;
-
+
#else
+
/* For big-endian 64-bit architectures we don't want to require
+
* 64-bit constants when setting the type_subtype field.
+
*/
+
INT32 type_subtype;
+
#if SIZEOF_CHAR_P == 8
+
INT32 pad__;
+
#endif
+
#endif
} tu; union anything u; /**< contains the value */ };