mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-23 15:55:10 +01:00
Fix preprocessor checks for bn_mul PPC asm
On OS X, neither __powerpc__ nor __ppc__ is defined on PPC64, so the asm code was only being used on PPC32.
This commit is contained in:
parent
42b5374523
commit
35e7cb9aa6
2 changed files with 2 additions and 3 deletions
|
|
@ -285,7 +285,6 @@
|
|||
|
||||
#endif /* MC68000 */
|
||||
|
||||
#if defined(__powerpc__) || defined(__ppc__)
|
||||
#if defined(__powerpc64__) || defined(__ppc64__)
|
||||
|
||||
#if defined(__MACH__) && defined(__APPLE__)
|
||||
|
|
@ -371,7 +370,7 @@
|
|||
|
||||
#endif /* __MACH__ && __APPLE__ */
|
||||
|
||||
#else /* PPC32 */
|
||||
#elif defined(__powerpc__) || defined(__ppc__) /* end PPC64/begin PPC32 */
|
||||
|
||||
#if defined(__MACH__) && defined(__APPLE__)
|
||||
|
||||
|
|
@ -456,7 +455,6 @@
|
|||
#endif /* __MACH__ && __APPLE__ */
|
||||
|
||||
#endif /* PPC32 */
|
||||
#endif /* PPC64 */
|
||||
|
||||
#if defined(__sparc__) && defined(__sparc64__)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue