delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1997/04/14/20:24:57

Date: Mon, 14 Apr 1997 20:12:43 -0400
Message-Id: <199704150012.UAA00662@delorie.com>
From: DJ Delorie <dj AT delorie DOT com>
To: leisner AT sdsp DOT mc DOT xerox DOT com
CC: djgpp-workers AT delorie DOT com
In-reply-to: <9704141610.AA25374@gnu.sdsp.mc.xerox.com>
(leisner AT sdsp DOT mc DOT xerox DOT com)
Subject: Re: sys/sysmacros.h in include?

Could you start with the sys/_ansi template and put these macros in
there, in the appropriate section?

Also - I think we should be able to come up with better defaults than
this, since we *do* have unique device numbers for each hard drive
partition.

> #ifndef _SYS_MACROS_H
> #define _SYS_MACROS_H
> 
> #define major(dev)      0
> #define minor(dev)      0
> #endif

- Raw text -


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