diff options
author | Fan Yang <me@minidump.info> | 2018-06-17 13:14:15 +0800 |
---|---|---|
committer | Iru Cai (vimacs) <mytbk920423@gmail.com> | 2018-06-18 03:04:58 +0000 |
commit | ad54ba5e6a1f476b421e55fccc698d028e497509 (patch) | |
tree | e9ff3a60bbb2758a5e937216a3d3d835b71dd44f /src | |
parent | e412bc5ae20fb9c3d20e2ba187630d2697ceef43 (diff) | |
download | fqterm-ad54ba5e6a1f476b421e55fccc698d028e497509.tar.xz |
(*)fix build on macOS
Diffstat (limited to 'src')
-rw-r--r-- | src/protocol/internal/ssh_endian.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/protocol/internal/ssh_endian.h b/src/protocol/internal/ssh_endian.h index 1a42225..be253a3 100644 --- a/src/protocol/internal/ssh_endian.h +++ b/src/protocol/internal/ssh_endian.h @@ -22,7 +22,7 @@ #include <stdint.h> -#if defined(WIN32) +#if defined(WIN32) || defined(__APPLE__) static inline uint16_t bswap_16(uint16_t x) { return (x << 8) | (x >> 8); |