Quellcode durchsuchen

Removed the __arch__swabX macros; Linux kernel headers aren't reliable.

Ryan C. Gordon vor 17 Jahren
Ursprung
Commit
6df0e5ffba
1 geänderte Dateien mit 0 neuen und 12 gelöschten Zeilen
  1. 0 12
      physfs_byteorder.c

+ 0 - 12
physfs_byteorder.c

@@ -14,18 +14,6 @@
 #define __PHYSICSFS_INTERNAL__
 #define __PHYSICSFS_INTERNAL__
 #include "physfs_internal.h"
 #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__)
 #if (defined macintosh) && !(defined __MWERKS__)
 #define __inline__
 #define __inline__
 #endif
 #endif