[threads] Use designated initializer syntax in MAKE_SPECIAL_STATIC_OFFSET
authorAleksey Kliger <aleksey@xamarin.com>
Thu, 17 Aug 2017 22:56:49 +0000 (18:56 -0400)
committerAleksey Kliger (λgeek) <akliger@gmail.com>
Fri, 18 Aug 2017 13:52:09 +0000 (09:52 -0400)
commit616fab4469449f2bba13fca2706aca5bf444c242
tree4f76e4c674c6ab03c9c050a2d67751744d9b6a18
parentfc6e8a27fc55319141ceb29fbb7b5c63a9030b5e
[threads] Use designated initializer syntax in MAKE_SPECIAL_STATIC_OFFSET

Originally we used a C90-style struct initializer `{ (index), (offset), (type)
}`.  Unfortunately, SpecialStaticOffset is defined with fields in a different
order on big-endian and little-endian machines.  Using a designated
initializer, we don't have to care about the order.
mono/metadata/threads.c