Changeset - r3289:4e232dfc5bf5
[Not reviewed]
master
0 1 0
Darkvater - 19 years ago 2006-03-21 23:18:43
darkvater@openttd.org
(svn r4003) - Minor codebeautifier@work
1 file changed with 6 insertions and 6 deletions:
0 comments (0 inline, 0 general)
stdafx.h
Show inline comments
 
@@ -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
0 comments (0 inline, 0 general)