Change libmpdec to use ANSI code in strict ansi mode as inline asm isn't supported in ANSI C

This commit is contained in:
Christian Heimes 2012-09-30 15:49:56 +02:00
parent f23e2b67ad
commit 72c9946718
1 changed files with 5 additions and 0 deletions

View File

@ -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)