From a48a1807fe2178d2094791e9a66604268436b8b2 Mon Sep 17 00:00:00 2001 From: Darkvater Date: Tue, 21 Mar 2006 23:18:43 +0000 Subject: [PATCH] (svn r4003) - Minor codebeautifier@work --- stdafx.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/stdafx.h b/stdafx.h index f3fbfbaf3e..fe896853d1 100644 --- a/stdafx.h +++ b/stdafx.h @@ -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