mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-18 09:19:24 +03:00
* unixcompat.h: Only include <sys/sysmacros.h> if we're on AIX,
as Solaris defines the macros twice---once in <sys/mkdev.h>, and once in <sys/sysmacros.h>.
This commit is contained in:
parent
303cf1ff16
commit
f0f4721309
@ -3,6 +3,9 @@
|
||||
* tty.h: Moved the function printwstr to slint.c, because the
|
||||
SunPro compiler does not eliminate unused inline functions.
|
||||
* slint.c: printwstr has been moved to here.
|
||||
* unixcompat.h: Only include <sys/sysmacros.h> if we're on AIX,
|
||||
as Solaris defines the macros twice---once in <sys/mkdev.h>,
|
||||
and once in <sys/sysmacros.h>.
|
||||
|
||||
2005-02-23 Roland Illig <roland.illig@gmx.de>
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
#ifdef HAVE_SYS_MKDEV_H
|
||||
# include <sys/mkdev.h> /* Solaris 9 */
|
||||
#endif
|
||||
#ifdef HAVE_SYS_SYSMACROS_H
|
||||
#if defined(_AIX) && defined(HAVE_SYS_SYSMACROS_H)
|
||||
# include <sys/sysmacros.h> /* AIX */
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user