mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-03 10:04:32 +03:00
* unixcompat.h (major/minor): Added support for AIX.
This commit is contained in:
parent
067e407cf7
commit
728951fd34
@ -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>
|
||||||
|
|
||||||
|
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user