# HG changeset patch # User Darkvater # Date 1142983123 0 # Node ID 8c07072572534d4c9bb88a2af35ddc39ce7be87f # Parent 91b3ed6a0885270d0a31a17672a5732f43483d1f (svn r4003) - Minor codebeautifier@work diff -r 91b3ed6a0885 -r 8c0707257253 stdafx.h --- a/stdafx.h Tue Mar 21 22:09:19 2006 +0000 +++ b/stdafx.h Tue Mar 21 23:18:43 2006 +0000 @@ -53,14 +53,14 @@ #endif /* __MORPHOS__ */ #ifdef __APPLE__ -#include "os/macosx/osx_stdafx.h" +# include "os/macosx/osx_stdafx.h" // make endian swapping use Apple's macros to increase speed -#define BSWAP32(x) Endian32_Swap(x) -#define BSWAP16(x) Endian16_Swap(x) +# define BSWAP32(x) Endian32_Swap(x) +# define BSWAP16(x) Endian16_Swap(x) #else -#define BSWAP32(x) ((((x) >> 24) & 0xFF) | (((x) >> 8) & 0xFF00) | (((x) << 8) & 0xFF0000) | (((x) << 24) & 0xFF000000)) -#define BSWAP16(x) ((x) >> 8 | (x) << 8) -#endif +# define BSWAP32(x) ((((x) >> 24) & 0xFF) | (((x) >> 8) & 0xFF00) | (((x) << 8) & 0xFF0000) | (((x) << 24) & 0xFF000000)) +# define BSWAP16(x) ((x) >> 8 | (x) << 8) +#endif /* __APPLE__ */ // by default we use [] var arrays #define VARARRAY_SIZE