Commit 0138e84
committed
fix: don't declare
Declaring these functions causes compilation failure on macOS because
`sys/endian.h` header already defined macros with the same name
Signed-off-by: botantony <antonsm21@gmail.com>bswap32/bswap64 function if macros are defined1 parent f3adfb6 commit 0138e84
1 file changed
Lines changed: 14 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1804 | 1804 | | |
1805 | 1805 | | |
1806 | 1806 | | |
| 1807 | + | |
| 1808 | + | |
| 1809 | + | |
1807 | 1810 | | |
1808 | | - | |
| 1811 | + | |
1809 | 1812 | | |
1810 | | - | |
| 1813 | + | |
1811 | 1814 | | |
1812 | | - | |
| 1815 | + | |
1813 | 1816 | | |
1814 | 1817 | | |
1815 | | - | |
| 1818 | + | |
1816 | 1819 | | |
| 1820 | + | |
1817 | 1821 | | |
| 1822 | + | |
1818 | 1823 | | |
1819 | | - | |
| 1824 | + | |
1820 | 1825 | | |
1821 | | - | |
| 1826 | + | |
1822 | 1827 | | |
1823 | | - | |
| 1828 | + | |
1824 | 1829 | | |
1825 | 1830 | | |
1826 | 1831 | | |
1827 | 1832 | | |
1828 | 1833 | | |
1829 | 1834 | | |
1830 | | - | |
| 1835 | + | |
1831 | 1836 | | |
| 1837 | + | |
1832 | 1838 | | |
1833 | 1839 | | |
1834 | 1840 | | |
| |||
0 commit comments