2 * This file has been modified for the cdrkit suite.
4 * The behaviour and appearence of the program code below can differ to a major
5 * extent from the version distributed by the original author(s).
7 * For details, see Changelog file distributed with the cdrkit package. If you
8 * received this file from another source then ask the distributing person for
9 * a log of modifications.
13 /* test_BITFIELD_HTOL.c derived from cdrtools aclocal.m4 by Joerg Schilling */
14 /* Return 1 if bitfields are high-to-low, 0 if bitfields are low-to-high */
19 struct { unsigned char bf1:4, bf2:4; } bf;
22 return (u.bf.bf1 == 1);