Rename DATADIR to PKGDATADIR to fix win32 build

* src/Makefile.am src/cpu/cpu_map.c: rename in Makefile and in the
  cpu map loading code
This commit is contained in:
Jiri Denemark 2009-12-23 14:29:57 +01:00 committed by Daniel Veillard
parent 79fa4a98d1
commit 913ab198fb
2 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ INCLUDES = \
-DSBINDIR=\""$(sbindir)"\" \
-DSYSCONF_DIR="\"$(sysconfdir)\"" \
-DLOCALEBASEDIR=\""$(datadir)/locale"\" \
-DDATADIR=\""$(pkgdatadir)"\" \
-DPKGDATADIR=\""$(pkgdatadir)"\" \
-DLOCAL_STATE_DIR=\""$(localstatedir)"\" \
-DGETTEXT_PACKAGE=\"$(PACKAGE)\" \
$(WARN_CFLAGS) \

View File

@ -30,7 +30,7 @@
#define VIR_FROM_THIS VIR_FROM_CPU
#define CPUMAPFILE DATADIR "/cpu_map.xml"
#define CPUMAPFILE PKGDATADIR "/cpu_map.xml"
static int load(xmlXPathContextPtr ctxt,