diff options
author | tron <tron@openttd.org> | 2004-11-17 09:07:29 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2004-11-17 09:07:29 +0000 |
commit | 87adce3ca0bfd9018161a97c9e4f36eaf74d9b10 (patch) | |
tree | 5a3378a748ffa56073828573db89ccf305848977 /stdafx.h | |
parent | 13f0b6c0cf754184cfef8645e709f10240da5f98 (diff) | |
download | openttd-87adce3ca0bfd9018161a97c9e4f36eaf74d9b10.tar.xz |
(svn r655) Add the necessary bits to make building on SunOS/Solaris work
Diffstat (limited to 'stdafx.h')
-rw-r--r-- | stdafx.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -28,6 +28,10 @@ #include <SupportDefs.h> #endif +#ifdef SUNOS +#include <alloca.h> +#endif + #define BSWAP32(x) ((((x) >> 24) & 0xFF) | (((x) >> 8) & 0xFF00) | (((x) << 8) & 0xFF0000) | (((x) << 24) & 0xFF000000)) #define BSWAP16(x) ((x) >> 8 | (x) << 8) |