mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-22 00:47:28 +01:00
Clean up #ifdef style; remove unnecessary ()s.
This commit is contained in:
1 parent
6af3852fa8
commit
c3aa366c66
1 file changed
+8
-8
@@ -73,7 +73,7 @@
|
|||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <stdio.h> // For manual printf debugging.
|
#include <stdio.h> // For manual printf debugging.
|
||||||
|
|
||||||
#if __x86_64__
|
#ifdef __x86_64__
|
||||||
#define PUFFS_FLATE_HAVE_64_BIT_UNALIGNED_LITTLE_ENDIAN_LOADS
|
#define PUFFS_FLATE_HAVE_64_BIT_UNALIGNED_LITTLE_ENDIAN_LOADS
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -115,9 +115,9 @@ outer_loop:
|
|||||||
psrc += 6;
|
psrc += 6;
|
||||||
n_bits += 48;
|
n_bits += 48;
|
||||||
#else
|
#else
|
||||||
bits |= (((uint32_t)(*psrc++)) << n_bits);
|
bits |= ((uint32_t)(*psrc++)) << n_bits;
|
||||||
n_bits += 8;
|
n_bits += 8;
|
||||||
bits |= (((uint32_t)(*psrc++)) << n_bits);
|
bits |= ((uint32_t)(*psrc++)) << n_bits;
|
||||||
n_bits += 8;
|
n_bits += 8;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
@@ -161,7 +161,7 @@ outer_loop:
|
|||||||
psrc += 6;
|
psrc += 6;
|
||||||
n_bits += 48;
|
n_bits += 48;
|
||||||
#else
|
#else
|
||||||
bits |= (((uint32_t)(*psrc++)) << n_bits);
|
bits |= ((uint32_t)(*psrc++)) << n_bits;
|
||||||
n_bits += 8;
|
n_bits += 8;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
@@ -178,9 +178,9 @@ outer_loop:
|
|||||||
psrc += 6;
|
psrc += 6;
|
||||||
n_bits += 48;
|
n_bits += 48;
|
||||||
#else
|
#else
|
||||||
bits |= (((uint32_t)(*psrc++)) << n_bits);
|
bits |= ((uint32_t)(*psrc++)) << n_bits;
|
||||||
n_bits += 8;
|
n_bits += 8;
|
||||||
bits |= (((uint32_t)(*psrc++)) << n_bits);
|
bits |= ((uint32_t)(*psrc++)) << n_bits;
|
||||||
n_bits += 8;
|
n_bits += 8;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
@@ -216,9 +216,9 @@ outer_loop:
|
|||||||
psrc += 6;
|
psrc += 6;
|
||||||
n_bits += 48;
|
n_bits += 48;
|
||||||
#else
|
#else
|
||||||
bits |= (((uint32_t)(*psrc++)) << n_bits);
|
bits |= ((uint32_t)(*psrc++)) << n_bits;
|
||||||
n_bits += 8;
|
n_bits += 8;
|
||||||
bits |= (((uint32_t)(*psrc++)) << n_bits);
|
bits |= ((uint32_t)(*psrc++)) << n_bits;
|
||||||
n_bits += 8;
|
n_bits += 8;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user