mirror of
https://github.com/reactos/CMake.git
synced 2024-12-04 17:56:26 +00:00
11 lines
184 B
C
11 lines
184 B
C
int main () {
|
|
/* Are we little or big endian? From Harbison&Steele. */
|
|
union
|
|
{
|
|
long l;
|
|
char c[sizeof (long)];
|
|
} u;
|
|
u.l = 1;
|
|
exit (u.c[sizeof (long) - 1] == 1);
|
|
}
|