Unified · Split
| @@ -839,11 +839,11 @@ ST_FUNC int macho_output_file(TCCState *s1, const char *filename) · 838 unmodified lines | ||
| 839 | 839 | return ret; |
| 840 | 840 | } |
| 841 | 841 | |
| 842 | −static uint32_t swap32(uint32_t x) | |
| 842 | +static uint32_t macho_swap32(uint32_t x) | |
| 843 | 843 | { |
| 844 | 844 | return (x >> 24) | (x << 24) | ((x >> 8) & 0xff00) | ((x & 0xff00) << 8); |
| 845 | 845 | } |
| 846 | −#define SWAP(x) (swap ? swap32(x) : (x)) | |
| 846 | +#define SWAP(x) (swap ? macho_swap32(x) : (x)) | |
| 847 | 847 | |
| 848 | 848 | ST_FUNC int macho_load_dll(TCCState *s1, int fd, const char *filename, int lev) |
| 849 | 849 | { |