Alexei Podtelezhnikov pushed to branch master at FreeType / FreeType
Commits:
-
0f23ae2e
by Alexei Podtelezhnikov at 2021-10-05T16:28:40-04:00
1 changed file:
Changes:
... | ... | @@ -353,7 +353,7 @@ typedef ptrdiff_t FT_PtrDist; |
353 | 353 |
} \
|
354 | 354 |
FT_END_STMNT
|
355 | 355 |
|
356 |
-#ifdef __arm__
|
|
356 |
+#if defined( __GNUC__ ) && __GNUC__ < 7 && defined( __arm__ )
|
|
357 | 357 |
/* Work around a bug specific to GCC which make the compiler fail to */
|
358 | 358 |
/* optimize a division and modulo operation on the same parameters */
|
359 | 359 |
/* into a single call to `__aeabi_idivmod'. See */
|