delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/11/05/13:48:05

From: corinna DOT vinschen AT cityweb DOT de (Corinna Vinschen)
Subject: Re: file
5 Nov 1998 13:48:05 -0800 :
Message-ID: <3640F5BE.FB9CCC28.cygnus.gnu-win32@cityweb.de>
References: <199811030523 DOT AAA02664 AT rochester DOT rr DOT com>
Mime-Version: 1.0
To: leisner AT rochester DOT rr DOT com, gnu-win32 AT cygnus DOT com

Marty
Leisner
wrote:
> 
> Wouldn't it be better to have a file
> sys/sysmacros.h and have it in:
> 
> #ifndef _SYS_SYSMACROS_H
> #define _SYS_SYSMACROS_H
> 
> #define major(dev) (((unsigned) (dev))>>8)
> #define minor(dev) ((dev)&0xff)
> #define makedev(major,minor) (((major)<<8)|(minor))
> 
> #endif
> 
> (I got this from linux)
> 
> Marty Leisner

Yes,
agree!

I will
suggest
this file
(which I
already
have
copied
from
Linux at
my local
system :)
to be part
of
official
Cygnus
environment.

Corinna
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019