From: kunglao@prairienet.org (Bizzaro)
Subject: Re: mksifs
13 Nov 1997 14:57:35 -0800
Message-ID: <346B788F.8F13E3F4.cygnus.gnu-win32@prairienet.org>
References: <199711131253.NAA21341@persius.rz.uni-potsdam.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
To: GNU Win 32 <gnu-win32@cygnus.com>

Michael Lorenz wrote:
> 
> Hi !
> 
> > I'm trying to make the mksifs program (this program is used to prepare
> > Rockridge format ISO-9660 CD image files), but I get an error on an the
> > following non-existent include file sys/sysmacros.h.
> this looks like a Linux kernel include...
> maybe it works when you fetch is from somewhere, but most likely not.
> 
> > Or how to get around this nonexistent include file???
> comment out the include statement and see what't missing...

On Linux, it's a rather small file:

#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

major(x) returns the upper byte of a 16bit value, minor(x) returning the lower,
and makedev(x,y) combining the two.
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
