src/fcxml.c | 4 ++++ 1 file changed, 4 insertions(+) New commits: commit f33a23133ecbcc981745051f7c34d96b33b57447 Author: Behdad Esfahbod <behdad@xxxxxxxxxx> Date: Fri Aug 21 13:41:41 2009 -0400 Bug 22037 - No Fonts installed on a default install on Windows Server 2003 Make it easy to install on older Windows diff --git a/src/fcxml.c b/src/fcxml.c index ef85a4f..840bdca 100644 --- a/src/fcxml.c +++ b/src/fcxml.c @@ -2087,7 +2087,11 @@ FcEndElement(void *userData, const XML_Char *name) { int rc; data = buffer; +#if _WIN32_WINNT >= 0x0500 rc = GetSystemWindowsDirectory (buffer, sizeof (buffer) - 20); +#else + rc = GetWindowsDirectory (buffer, sizeof (buffer) - 20); +#endif if (rc == 0 || rc > sizeof (buffer) - 20) { FcConfigMessage (parse, FcSevereError, "GetSystemWindowsDirectory failed"); _______________________________________________ Fontconfig mailing list Fontconfig@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/fontconfig