* unixcompat.h (major/minor): Added support for AIX.

This commit is contained in:
Roland Illig 2005-01-27 22:19:48 +00:00
parent 067e407cf7
commit 728951fd34
2 changed files with 4 additions and 0 deletions

View File

@ -2,6 +2,7 @@
* tty.h (printwstr): Added a function to print a string * tty.h (printwstr): Added a function to print a string
left-aligned in a bounded box. left-aligned in a bounded box.
* unixcompat.h (major/minor): Added support for AIX.
2005-01-25 Roland Illig <roland.illig@gmx.de> 2005-01-25 Roland Illig <roland.illig@gmx.de>

View File

@ -14,6 +14,9 @@
#ifdef HAVE_SYS_MKDEV_H #ifdef HAVE_SYS_MKDEV_H
# include <sys/mkdev.h> /* Solaris 9 */ # include <sys/mkdev.h> /* Solaris 9 */
#endif #endif
#ifdef HAVE_SYS_SYSMACROS_H
# include <sys/sysmacros.h> /* AIX */
#endif
#ifndef major #ifndef major
# define major(devnum) (((devnum) >> 8) & 0xff) # define major(devnum) (((devnum) >> 8) & 0xff)