diff options
author | Jörg Frings-Fürst <jff@merkur> | 2014-05-19 19:33:50 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <jff@merkur> | 2014-05-19 19:33:50 +0200 |
commit | 723024faf087b48ba8b93db6821bb17f52751120 (patch) | |
tree | 7926f6b39b5aea7baf1e7e4549bea817c980df6a /config.h |
Imported Upstream version 2.12upstream/2.12
Diffstat (limited to 'config.h')
-rw-r--r-- | config.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/config.h b/config.h new file mode 100644 index 0000000..e39091f --- /dev/null +++ b/config.h @@ -0,0 +1,29 @@ +/* + * Configuration + */ + +#ifndef CONFIG_H +#define CONFIG_H + +/* Default memory device file */ +#if defined(__BEOS__) || defined(__HAIKU__) +#define DEFAULT_MEM_DEV "/dev/misc/mem" +#else +#ifdef __sun +#define DEFAULT_MEM_DEV "/dev/xsvc" +#else +#define DEFAULT_MEM_DEV "/dev/mem" +#endif +#endif + +/* Use mmap or not */ +#ifndef __BEOS__ +#define USE_MMAP +#endif + +/* Use memory alignment workaround or not */ +#ifdef __ia64__ +#define ALIGNMENT_WORKAROUND +#endif + +#endif |