diff options
-rw-r--r-- | source/fitz/draw-scale-simple.c | 2 | ||||
-rw-r--r-- | source/fitz/halftone.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/fitz/draw-scale-simple.c b/source/fitz/draw-scale-simple.c index a5cb43dd..cf9251e7 100644 --- a/source/fitz/draw-scale-simple.c +++ b/source/fitz/draw-scale-simple.c @@ -796,7 +796,7 @@ scale_row_from_temp(unsigned char *dst, unsigned char *src, fz_weights *weights, "ldr r14,[r2, r4, LSL #2]! @ r2 = contrib = index[index[row]+1]\n" " @ r14= len = *contrib \n" "blt 4f @ while (x >= 0) { \n" -#ifndef ARCH_ARM_CAN_LOAD_UNALIGNED +#ifndef ARCH_UNALIGNED_OK "tst r3, #3 @ if ((r3 & 3) \n" "tsteq r1, #3 @ || (r1 & 3)) \n" "bne 4f @ can't do fast code \n" diff --git a/source/fitz/halftone.c b/source/fitz/halftone.c index 186c0aa6..707084c4 100644 --- a/source/fitz/halftone.c +++ b/source/fitz/halftone.c @@ -344,7 +344,7 @@ static void do_threshold_4(const unsigned char * restrict ht_line, const unsigned char * restrict pixmap, unsigned char *restrict out, int w, int ht_len) __attribute__((naked)); -#ifdef ARCH_ARM_CAN_LOAD_UNALIGNED +#ifdef ARCH_UNALIGNED_OK static void do_threshold_4(const unsigned char * restrict ht_line, const unsigned char * restrict pixmap, unsigned char *restrict out, int w, int ht_len) { |