Skip to content

Commit

Permalink
Removed the __arch__swabX macros; Linux kernel headers aren't reliable.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Mar 23, 2009
1 parent 10ce30f commit 6df0e5f
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions physfs_byteorder.c
Expand Up @@ -14,18 +14,6 @@
#define __PHYSICSFS_INTERNAL__
#include "physfs_internal.h"

/* The macros used to swap values */
/* Try to use superfast macros on systems that support them */
#ifdef linux
#include <asm/byteorder.h>
#ifdef __arch__swab16
#define PHYSFS_Swap16 __arch__swab16
#endif
#ifdef __arch__swab32
#define PHYSFS_Swap32 __arch__swab32
#endif
#endif /* linux */

#if (defined macintosh) && !(defined __MWERKS__)
#define __inline__
#endif
Expand Down

0 comments on commit 6df0e5f

Please sign in to comment.