diff options
Diffstat (limited to 'Modules/TestBigEndian.c')
-rw-r--r-- | Modules/TestBigEndian.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/Modules/TestBigEndian.c b/Modules/TestBigEndian.c deleted file mode 100644 index db08ceb..0000000 --- a/Modules/TestBigEndian.c +++ /dev/null @@ -1,17 +0,0 @@ -#ifdef __CLASSIC_C__ -int main(){ - int ac; - char*av[]; -#else -int main(int ac, char*av[]){ -#endif - /* Are we little or big endian? From Harbison&Steele. */ - union - { - long l; - char c[sizeof (long)]; - } u; - u.l = 1; - if(ac > 1000){return *av[0];} - return (u.c[sizeof (long) - 1] == 1)?1:0; -} |