mirror of
https://github.com/python/cpython.git
synced 2026-01-10 17:30:04 +00:00
Change libmpdec to use ANSI code in strict ansi mode as inline asm isn't supported in ANSI C
This commit is contained in:
commit
c7d9bde2ff
1 changed files with 5 additions and 0 deletions
|
|
@ -106,6 +106,11 @@ extern "C" {
|
|||
#endif
|
||||
#endif
|
||||
|
||||
/* ASM isn't available in strict ansi C mode */
|
||||
#if defined(ASM) && defined(__STRICT_ANSI__)
|
||||
#undef ASM
|
||||
#define ANSI
|
||||
#endif
|
||||
|
||||
/* BEGIN CONFIG_64 */
|
||||
#if defined(CONFIG_64)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue