From 6df0e5ffbaa1ea1034efffc43c24acb8b6577cc9 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Mon, 23 Mar 2009 00:13:08 -0400 Subject: [PATCH] Removed the __arch__swabX macros; Linux kernel headers aren't reliable. --- physfs_byteorder.c | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/physfs_byteorder.c b/physfs_byteorder.c index 1e6742eb..ee3688b3 100644 --- a/physfs_byteorder.c +++ b/physfs_byteorder.c @@ -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 -#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