#ifdef _WIN32
#define FC_SEARCH_PATH_SEPARATOR ';'
+#define FC_DIR_SEPARATOR '\\'
#else
#define FC_SEARCH_PATH_SEPARATOR ':'
+#define FC_DIR_SEPARATOR '/'
#endif
#define FC_DBG_MATCH 1
};
struct _FcConfig {
+ /*
+ * The root directory to read config/font/cache/etc... files
+ */
+ FcChar8 *rootDir;
/*
* File names loaded from the configuration -- saved here as the
* cache file must be consulted before the directories are scanned,
FcPrivate void
FcDirCacheReference (FcCache *cache, int nref);
-#ifdef _WIN32
-FcPrivate int
-FcStat (const char *file, struct stat *statb);
-#else
-#define FcStat stat
-#endif
-
/* fccfg.c */
FcPrivate FcExpr *