summaryrefslogtreecommitdiff
path: root/stdafx.h
diff options
context:
space:
mode:
authorDarkvater <Darkvater@openttd.org>2006-03-21 23:18:43 +0000
committerDarkvater <Darkvater@openttd.org>2006-03-21 23:18:43 +0000
commit91b66421f368e262f839ff6cb372462333144ddf (patch)
tree85f04b3c25d389b084c34342fce2e9f305b6c0c9 /stdafx.h
parentf18ed606116cd93fb571ad4b97cce8570a938509 (diff)
downloadopenttd-91b66421f368e262f839ff6cb372462333144ddf.tar.xz
(svn r4003) - Minor codebeautifier@work
Diffstat (limited to 'stdafx.h')
-rw-r--r--stdafx.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/stdafx.h b/stdafx.h
index f3fbfbaf3..fe896853d 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