Subject: Make.aix

From: [email-masked] (Brian Redman)
Date: Thu, 1 Jul 1993 11:43:02 -0400

AIX 3.2.3:

cc -DAIX -D_POSIX_SOURCE -D_ANSI_C_SOURCE -D_LIBXG_EXTENSION -I../include    -c gwin.c -o gwin.o
"/usr/include/unistd.h", line 119.26: 1506-010 (W) Macro dup invoked with a null argument.
"/usr/include/unistd.h", line 119.28: 1506-046 (S) Syntax error.

It's the #define dup(a,b) dup2(a,b) in libc.h conflicting with the
extern int dup(int fildes) in /usr/include/unistd.h

I see a number of solutions but would like to know what others have done.

	ber