[Mono-dev] [RFC 07/12] io-layer: Define makedev for Haiku

Andreas Färber andreas.faerber at web.de
Fri Mar 26 09:30:00 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.6.5.3



More information about the Mono-devel-list mailing list