repo.or.cz
/
rbx.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Imported File#ftype spec from rubyspecs.
[rbx.git]
/
shotgun
/
config
/
isbigendian.c
blob
c0b9d50ece7f9482b7e7d982aa10dd1a8c28ac46
1
int
main
(
int
argc
,
char
**
argv
) {
2
char
*
data
=
"
\x12\x34\x56\x78
"
;
3
int
*
idata
= (
int
*)
data
;
4
5
/* 0 is false to C, but true to shell. I hate unix sometimes. */
6
return
!(*
idata
==
0x12345678
);
7
}