Fix compilation on AIX with stub definitions (bug 6097).

This commit is contained in:
Patrick Lam 2006-03-03 15:12:12 +00:00
parent bb6b19938e
commit c003f5aec3
2 changed files with 15 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2006-03-03 Patrick Lam <plam@mit.edu>
* fc-case/fc-case.c:
Fix compilation on AIX with stub definitions (bug 6097).
2006-03-03 Patrick Lam <plam@mit.edu>
* src/fccache.c (FcCacheSkipToArch, FcDirCacheProduce):
* src/fcfreetype.c (GetScriptTags):

View File

@ -28,6 +28,16 @@
#define MAX_OUT 32
#define MAX_LINE 8192
/* stub definitions for declarations from fcint.h.. */
int * _fcBankId = 0, * _fcBankIdx = 0;
int
FcCacheBankToIndexMTF (int bank)
{
return 0;
}
/* end stub definitions */
typedef enum _caseFoldClass { CaseFoldCommon, CaseFoldFull, CaseFoldSimple, CaseFoldTurkic } CaseFoldClass;
typedef struct _caseFoldClassMap {