[Mono-dev] [RFC 5/8] io-layer: Define makedev for Haiku
Andreas Färber
andreas.faerber at web.de
Wed Mar 31 20:27:56 EDT 2010
This commit is licensed under the MIT X11 license.
---
mono/io-layer/processes.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/mono/io-layer/processes.c b/mono/io-layer/processes.c
index b591716..e8f13ef 100644
--- a/mono/io-layer/processes.c
+++ b/mono/io-layer/processes.c
@@ -29,6 +29,9 @@
#ifdef HAVE_SYS_MKDEV_H
#include <sys/mkdev.h>
#endif
+#ifdef __HAIKU__
+#define makedev(maj,min) (((maj) << 8) | (min))
+#endif
/* sys/resource.h (for rusage) is required when using osx 10.3 (but not 10.4) */
#ifdef __APPLE__
--
1.7.0.3
More information about the Mono-devel-list
mailing list