summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAkira TAGOH <akira@tagoh.org>2015-02-24 15:01:14 +0900
committerAkira TAGOH <akira@tagoh.org>2015-02-24 15:01:14 +0900
commitf43c58189bb667e65630c37f33a58d39d7c550f6 (patch)
treeb1584722c1ac481b4fcd3616d59e8ed8ae410f74 /src
parented0d705e2221adbfb21de357c1a82b7a2a5c3641 (diff)
ifdef'd the unnecessary code for win32
Diffstat (limited to 'src')
-rw-r--r--src/fcxml.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/fcxml.c b/src/fcxml.c
index 29dd4d65..cdb14b67 100644
--- a/src/fcxml.c
+++ b/src/fcxml.c
@@ -2249,7 +2249,9 @@ FcParseInclude (FcConfigParse *parse)
FcChar8 *s;
const FcChar8 *attr;
FcBool ignore_missing = FcFalse;
+#ifndef _WIN32
FcBool deprecated = FcFalse;
+#endif
FcChar8 *prefix = NULL, *p;
static FcChar8 *userdir = NULL;
static FcChar8 *userconf = NULL;
@@ -2263,9 +2265,11 @@ FcParseInclude (FcConfigParse *parse)
attr = FcConfigGetAttribute (parse, "ignore_missing");
if (attr && FcConfigLexBool (parse, (FcChar8 *) attr) == FcTrue)
ignore_missing = FcTrue;
+#ifndef _WIN32
attr = FcConfigGetAttribute (parse, "deprecated");
if (attr && FcConfigLexBool (parse, (FcChar8 *) attr) == FcTrue)
deprecated = FcTrue;
+#endif
attr = FcConfigGetAttribute (parse, "prefix");
if (attr && FcStrCmp (attr, (const FcChar8 *)"xdg") == 0)
{