diff options
author | nima <nima@abc39116-655e-4be6-ad55-d661dc543056> | 2008-06-30 12:08:58 +0000 |
---|---|---|
committer | nima <nima@abc39116-655e-4be6-ad55-d661dc543056> | 2008-06-30 12:08:58 +0000 |
commit | e7d6d472c21aa80c28be01c0d6dcbfd250d57a25 (patch) | |
tree | 04d9d76a9a48f183f4cdf1c922a8e33555e77da1 /config.h | |
download | python-dmidecode-e7d6d472c21aa80c28be01c0d6dcbfd250d57a25.tar.gz python-dmidecode-e7d6d472c21aa80c28be01c0d6dcbfd250d57a25.tar.xz python-dmidecode-e7d6d472c21aa80c28be01c0d6dcbfd250d57a25.zip |
First commit to SVN.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@1 abc39116-655e-4be6-ad55-d661dc543056
Diffstat (limited to 'config.h')
-rw-r--r-- | config.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/config.h b/config.h new file mode 100644 index 0000000..c1d7d03 --- /dev/null +++ b/config.h @@ -0,0 +1,25 @@ +/* + * 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 + +#endif |