summaryrefslogtreecommitdiffstats
path: root/src/config.h
blob: f4c0fc406d7f990bd07ed8356e2ae7b5e3953f1b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30

/*
 * Configuration
 */

#ifndef CONFIG_H
#define CONFIG_H

/* Default memory device file */
#ifdef __BEOS__
#define DEFAULT_MEM_DEV "/dev/misc/mem"
#else
#define DEFAULT_MEM_DEV "/dev/mem"
#endif

/* Use mmap or not */
#ifndef __BEOS__
#define USE_MMAP
#endif

/* Use memory alignment workaround or not */
#ifdef __ia64__
#define ALIGNMENT_WORKAROUND
#endif

#ifndef PYTHON_XML_MAP
#define PYTHON_XML_MAP "/usr/share/python-dmidecode/pythonmap.xmp"
#endif

#endif