Fix conditional usage of FT_MulFix_i386.

With -ansi flag, gcc does not define `i386', only `__i386__'.

* include/freetype/config/ftconfig.h, builds/unix/ftconfig.in:
s/i386/__i386__/.
This commit is contained in:
Werner Lemberg 2010-08-06 01:39:26 +02:00
parent 346f1867fd
commit 948076cd85
3 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,11 @@
2010-08-06 Yuriy Kaminskiy <yumkam@mail.ru>
Fix conditional usage of FT_MulFix_i386.
With -ansi flag, gcc does not define `i386', only `__i386__'.
* include/freetype/config/ftconfig.h, builds/unix/ftconfig.in:
s/i386/__i386__/.
2010-08-05 Werner Lemberg <wl@gnu.org>
Fix Savannah bug #30657.

View File

@ -313,7 +313,7 @@ FT_BEGIN_HEADER
#endif /* __arm__ && !__thumb__ */
#if defined( i386 )
#if defined( __i386__ )
#define FT_MULFIX_ASSEMBLER FT_MulFix_i386
static __inline__ FT_Int32

View File

@ -363,7 +363,7 @@ FT_BEGIN_HEADER
#endif /* __arm__ && !__thumb__ && !( __CC_ARM || __ARMCC__ ) */
#if defined( i386 )
#if defined( __i386__ )
#define FT_MULFIX_ASSEMBLER FT_MulFix_i386
/* documentation is in freetype.h */