]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
added mem_bigendian variable
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 21 Dec 2009 08:46:20 +0000 (08:46 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 21 Dec 2009 08:46:20 +0000 (08:46 +0000)
made LittleLong/Short/Float and BigLong/Short/Float functions pass a
pointer to the variable to BuffBigLong/BuffLittleLong and friends to
avoid unaligned memory access crashes on some platforms even if a file
has unaligned data in it
added StoreBigLong function to help the netconn.c code
removed BYTE_ORDER compile-time detection

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9617 d7cf8633-e32d-0410-b094-e92efae38249


No differences found