diff options
author | Akira TAGOH <akira@tagoh.org> | 2015-02-24 15:01:14 +0900 |
---|---|---|
committer | Akira TAGOH <akira@tagoh.org> | 2015-02-24 15:01:14 +0900 |
commit | f43c58189bb667e65630c37f33a58d39d7c550f6 (patch) | |
tree | b1584722c1ac481b4fcd3616d59e8ed8ae410f74 /src | |
parent | ed0d705e2221adbfb21de357c1a82b7a2a5c3641 (diff) |
ifdef'd the unnecessary code for win32
Diffstat (limited to 'src')
-rw-r--r-- | src/fcxml.c | 4 |
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) { |