[quake3] Re: Running q3ded on PPC
PaSzCzUs
paszczus at gmail.com
Fri Oct 28 13:10:34 EDT 2005
-bash-3.00$ cat q3_endian_test.c && ./q3_endian_test
#include <assert.h>
#include <math.h>
#include <stdio.h>
#include <stdarg.h>
#include <string.h>
#include <stdlib.h>
#include <time.h>
#include <ctype.h>
#include <limits.h>
#include <stdio.h>
int main( void )
{
printf( "Q3 thinks this machine is " );
#if __FLOAT_WORD_ORDER == __LITTLE_ENDIAN
printf( "little endian\n" );
#else
printf( "big endian\n" );
#endif
return 0;
}
Q3 thinks this machine is big endian
More information about the quake3
mailing list