diff options
| author | nima <nima@abc39116-655e-4be6-ad55-d661dc543056> | 2008-12-17 07:20:56 +0000 |
|---|---|---|
| committer | nima <nima@abc39116-655e-4be6-ad55-d661dc543056> | 2008-12-17 07:20:56 +0000 |
| commit | 39378ee26e0d1d2ab4c76eed22514c6f986c5495 (patch) | |
| tree | 3bb1c6a481d384dd41b085f7f3e06bafa802a7e4 /src/config.h | |
| parent | b0103d72736fdf47760049dbf880a859b52c88fa (diff) | |
| download | python-dmidecode-39378ee26e0d1d2ab4c76eed22514c6f986c5495.tar.gz python-dmidecode-39378ee26e0d1d2ab4c76eed22514c6f986c5495.tar.xz python-dmidecode-39378ee26e0d1d2ab4c76eed22514c6f986c5495.zip | |
Cleaning up source area, ready for debianizing, and rpm after that.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@108 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 |
