diff options
author | Andrey Filipenkov <decapitator@ukr.net> | 2013-07-18 03:10:12 +0300 |
---|---|---|
committer | Andrey Filipenkov <decapitator@ukr.net> | 2013-07-18 03:10:12 +0300 |
commit | 1726aa5e69f2e0c3ade055b97767efa9ac1e9624 (patch) | |
tree | 9fb499b5182f65ce8c95264c0df136274c516c69 | |
parent | 43033709ea78369d0fe86d1a014e0743ce8bd33b (diff) |
fixed compilation for PowerPC architecture on Mac OS X
-rw-r--r-- | src/StormPort.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/StormPort.h b/src/StormPort.h index 069033a..3c7c121 100644 --- a/src/StormPort.h +++ b/src/StormPort.h @@ -72,6 +72,11 @@ #include <fcntl.h> #include <stdlib.h> #include <errno.h> + + #if __ppc__ == 1 || __POWERPC__ == 1 || _ARCH_PPC == 1 + #include <stdint.h> + #include <CoreFoundation/CFByteOrder.h> + #endif #define PKEXPORT #define __SYS_ZLIB |