diff options
| author | nima <nima@abc39116-655e-4be6-ad55-d661dc543056> | 2009-03-31 11:42:38 +0000 |
|---|---|---|
| committer | nima <nima@abc39116-655e-4be6-ad55-d661dc543056> | 2009-03-31 11:42:38 +0000 |
| commit | d7200d96d5b90bcd0013c84ec1b053acbcca86c9 (patch) | |
| tree | 76b63b8b927bdbb544fa2de66747baa5cd3da058 /src/config.h | |
| parent | 37d1a8117cd212ee9e47bbd4225ba76dece7dad7 (diff) | |
| download | python-dmidecode-d7200d96d5b90bcd0013c84ec1b053acbcca86c9.tar.gz python-dmidecode-d7200d96d5b90bcd0013c84ec1b053acbcca86c9.tar.xz python-dmidecode-d7200d96d5b90bcd0013c84ec1b053acbcca86c9.zip | |
Reverting recent (pointless) change.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@180 abc39116-655e-4be6-ad55-d661dc543056
Diffstat (limited to 'src/config.h')
| -rw-r--r-- | src/config.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/config.h b/src/config.h new file mode 100644 index 0000000..c1d7d03 --- /dev/null +++ b/src/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 |
