summaryrefslogtreecommitdiffstats
path: root/src/config.h
diff options
context:
space:
mode:
authorDavid Sommerseth <davids@redhat.com>2009-04-30 19:38:25 +0200
committerDavid Sommerseth <davids@redhat.com>2009-04-30 19:38:25 +0200
commit1bf1da9fa4ad24148fe18c1c5baa9a4ec931402c (patch)
tree3289359e9460924b03c460099c6f277d6594bb05 /src/config.h
parent89d2c50a648e3affd81ceb24e332bbd60de2b75d (diff)
downloadpython-dmidecode-1bf1da9fa4ad24148fe18c1c5baa9a4ec931402c.tar.gz
python-dmidecode-1bf1da9fa4ad24148fe18c1c5baa9a4ec931402c.tar.xz
python-dmidecode-1bf1da9fa4ad24148fe18c1c5baa9a4ec931402c.zip
Improved setting of pythonmap.xml
The default file is now set to /usr/share/python-dmidecode/pythonmap.xml (defined in config.h) and can be overridden with the dmidecode.pythonmap() function in Python.
Diffstat (limited to 'src/config.h')
-rw-r--r--src/config.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/config.h b/src/config.h
index 713ac5d..f4c0fc4 100644
--- a/src/config.h
+++ b/src/config.h
@@ -23,4 +23,8 @@
#define ALIGNMENT_WORKAROUND
#endif
+#ifndef PYTHON_XML_MAP
+#define PYTHON_XML_MAP "/usr/share/python-dmidecode/pythonmap.xmp"
+#endif
+
#endif