From 1bf1da9fa4ad24148fe18c1c5baa9a4ec931402c Mon Sep 17 00:00:00 2001 From: David Sommerseth Date: Thu, 30 Apr 2009 19:38:25 +0200 Subject: 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. --- src/config.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/config.h') 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 -- cgit