chiark / gitweb /
Typo fix.
[disorder] / server / endian.c
CommitLineData
64c12487
RK
1/** @file server/endian.c
2 * @brief Expose runtime endianness to makefile for testing
3 */
0a829a95
RK
4#include <config.h>
5#include <stdio.h>
6
7int main(void) {
8#if WORDS_BIGENDIAN
9 puts("1");
10#else
11 puts("0");
12#endif
13 return 0;
14}
15
16/*
17Local Variables:
18c-basic-offset:2
19comment-column:40
20fill-column:79
21indent-tabs-mode:nil
22End:
23*/