chiark
/
gitweb
/
~mdw
/
disorder
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
DisOrder 5.0.3
[disorder]
/
server
/
endian.c
1
/** @file server/endian.c
2
* @brief Expose runtime endianness to makefile for testing
3
*/
4
#include <config.h>
5
#include <stdio.h>
6
7
int main(void) {
8
#if WORDS_BIGENDIAN
9
puts("1");
10
#else
11
puts("0");
12
#endif
13
return 0;
14
}
15
16
/*
17
Local Variables:
18
c-basic-offset:2
19
comment-column:40
20
fill-column:79
21
indent-tabs-mode:nil
22
End:
23
*/