all: fix #includes for AIX, add a few AIX "implementation" files

This commit is contained in:
Ben Huntsman 2020-05-04 19:53:21 -07:00 committed by Russ Cox
parent f84d54a033
commit 5802b09e9d
9 changed files with 25 additions and 0 deletions

View file

@ -6,6 +6,8 @@
extern "C" {
#endif
#define HAS_SYS_TERMIOS 1
#define __BSD_VISIBLE 1 /* FreeBSD 5.x */
#if defined(__sun__)
# define __EXTENSIONS__ 1 /* SunOS */
@ -34,6 +36,8 @@ extern "C" {
#endif
#if defined(__AIX__)
# define _XOPEN_SOURCE 600
# define _ALL_SOURCE
# undef HAS_SYS_TERMIOS
#endif
#if defined(__APPLE__)
# define _DARWIN_NO_64_BIT_INODE /* Snow Leopard */