summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorAnton Arapov <anton@redhat.com>2011-11-14 10:36:21 +0000
committerAnton Arapov <anton@redhat.com>2011-11-14 10:36:21 +0000
commit67593a544f01ea268e7f77885447af5ee5553e2c (patch)
tree843aace5a907c964c85ac579065797d4537bbaf1 /config.h
parentb3c89a3edf388c415b560f87074a38fb1456d6b1 (diff)
downloaddmidecode-git-67593a544f01ea268e7f77885447af5ee5553e2c.tar.gz
Haiku recently dropped the _BEOS_ definition in favor of its own platform
identification _HAIKU_, so we must now also check for it. Patch from Francois Revol.
Diffstat (limited to 'config.h')
-rw-r--r--config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.h b/config.h
index 52fd3c3..e39091f 100644
--- a/config.h
+++ b/config.h
@@ -6,7 +6,7 @@
#define CONFIG_H
/* Default memory device file */
-#ifdef __BEOS__
+#if defined(__BEOS__) || defined(__HAIKU__)
#define DEFAULT_MEM_DEV "/dev/misc/mem"
#else
#ifdef __sun