* include/freetype/internal/compiler-macros.h [FT_COMPARE_DEF]: Tighten.

This works around Watcom C library using __watcall.
This commit is contained in:
Alexei Podtelezhnikov 2022-01-14 20:33:28 -05:00
parent 7eb9a9dbbe
commit 7f7bf6f0f0
1 changed files with 2 additions and 2 deletions

View File

@ -299,9 +299,9 @@ FT_BEGIN_HEADER
#define FT_CALLBACK_DEF( x ) static x
#endif
#if defined( __i386__ )
#if defined( __GNUC__ ) && defined( __i386__ )
#define FT_COMPARE_DEF( x ) FT_CALLBACK_DEF( x ) __attribute__(( cdecl ))
#elif defined( _M_IX86 )
#elif defined( _MSC_VER ) && defined( _M_IX86 )
#define FT_COMPARE_DEF( x ) FT_CALLBACK_DEF( x ) __cdecl
#else
#define FT_COMPARE_DEF( x ) FT_CALLBACK_DEF( x )