From: Ryan Pavlik <rpav...@iastate.edu> Provide a dummy readlink, which just returns the supplied path name, on WIN32
Signed-off-by: Ryan Pavlik <rpav...@iastate.edu> Reviewed-by: Jon TURNEY <jon.tur...@dronecode.org.uk> --- src/fontfile/catalogue.c | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/src/fontfile/catalogue.c b/src/fontfile/catalogue.c index 8029b28..7ec06f2 100644 --- a/src/fontfile/catalogue.c +++ b/src/fontfile/catalogue.c @@ -37,6 +37,15 @@ static const char CataloguePrefix[] = "catalogue:"; static int CatalogueFreeFPE (FontPathElementPtr fpe); +#ifdef WIN32 +static int readlink(const char *path, char*buf, size_t bufsiz) +{ + /* Silly no-op implementation */ + strncpy(buf, path, bufsiz); + return strlen(buf); +} +#endif + static int CatalogueNameCheck (char *name) { -- 1.7.9 _______________________________________________ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel