~ubuntu-branches/ubuntu/saucy/biosdevname/saucy-proposed

« back to all changes in this revision

Viewing changes to src/dmidecode/config.h

  • Committer: Bazaar Package Importer
  • Author(s): Colin Watson
  • Date: 2011-02-23 17:58:36 UTC
  • Revision ID: james.westby@ubuntu.com-20110223175836-4f0cbcno9zm0lmdu
Tags: upstream-0.3.7
ImportĀ upstreamĀ versionĀ 0.3.7

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Configuration
 
3
 */
 
4
 
 
5
#ifndef CONFIG_H
 
6
#define CONFIG_H
 
7
 
 
8
/* Default memory device file */
 
9
#ifdef __BEOS__
 
10
#define DEFAULT_MEM_DEV "/dev/misc/mem"
 
11
#else
 
12
#ifdef __sun
 
13
#define DEFAULT_MEM_DEV "/dev/xsvc"
 
14
#else
 
15
#define DEFAULT_MEM_DEV "/dev/mem"
 
16
#endif
 
17
#endif
 
18
 
 
19
/* Use mmap or not */
 
20
#ifndef __BEOS__
 
21
#define USE_MMAP
 
22
#endif
 
23
 
 
24
/* Use memory alignment workaround or not */
 
25
#ifdef __ia64__
 
26
#define ALIGNMENT_WORKAROUND
 
27
#endif
 
28
 
 
29
#endif