delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/11/13/14:57:35

From: kunglao AT prairienet DOT org (Bizzaro)
Subject: Re: mksifs
13 Nov 1997 14:57:35 -0800 :
Message-ID: <346B788F.8F13E3F4.cygnus.gnu-win32@prairienet.org>
References: <199711131253 DOT NAA21341 AT persius DOT rz DOT uni-potsdam DOT de>
Mime-Version: 1.0
To: GNU Win 32 <gnu-win32 AT cygnus DOT 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 AT cygnus DOT com" with one line of text: "help".

- Raw text -


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