src/physfs_byteorder.c
changeset 1100 f90724e3b4c6
parent 1016 957c97389257
child 1101 6dd9d71b8e3f
--- a/src/physfs_byteorder.c	Sat Aug 21 14:05:39 2010 -0400
+++ b/src/physfs_byteorder.c	Sat Aug 21 14:29:40 2010 -0400
@@ -14,29 +14,21 @@
 #define __PHYSICSFS_INTERNAL__
 #include "physfs_internal.h"
 
-#if (defined macintosh) && !(defined __MWERKS__)
-#define __inline__
-#endif
-
-#if (defined _MSC_VER)
-#define __inline__ __inline
-#endif
-
 #ifndef PHYSFS_Swap16
-static __inline__ PHYSFS_uint16 PHYSFS_Swap16(PHYSFS_uint16 D)
+static inline PHYSFS_uint16 PHYSFS_Swap16(PHYSFS_uint16 D)
 {
     return ((D<<8)|(D>>8));
 }
 #endif
 #ifndef PHYSFS_Swap32
-static __inline__ PHYSFS_uint32 PHYSFS_Swap32(PHYSFS_uint32 D)
+static inline PHYSFS_uint32 PHYSFS_Swap32(PHYSFS_uint32 D)
 {
     return ((D<<24)|((D<<8)&0x00FF0000)|((D>>8)&0x0000FF00)|(D>>24));
 }
 #endif
 #ifndef PHYSFS_NO_64BIT_SUPPORT
 #ifndef PHYSFS_Swap64
-static __inline__ PHYSFS_uint64 PHYSFS_Swap64(PHYSFS_uint64 val) {
+static inline PHYSFS_uint64 PHYSFS_Swap64(PHYSFS_uint64 val) {
     PHYSFS_uint32 hi, lo;
 
     /* Separate into high and low 32-bit values and swap them */