[Mono-dev] [RFC 5/8] io-layer: Define makedev for Haiku
Zoltan Varga
vargaz at gmail.com
Thu Apr 1 21:10:25 EDT 2010
Looks ok.
Zoltan
On Thu, Apr 1, 2010 at 2:27 AM, Andreas Färber <andreas.faerber at web.de>wrote:
> 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
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20100402/336ee7f6/attachment.html
More information about the Mono-devel-list
mailing list