From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from ux2.cso.uiuc.edu ([128.174.5.3]) by hawkwind.utcs.toronto.edu with SMTP id <2800>; Mon, 15 Mar 1993 11:31:45 -0500 Received: by ux2.cso.uiuc.edu id AA61475 (5.67a/IDA-1.5 for sam-fans@hawkwind.utcs.toronto.edu); Mon, 15 Mar 1993 10:31:22 -0600 Date: Mon, 15 Mar 1993 11:31:22 -0500 From: Ed Kubaitis - CCSO Message-Id: <199303151631.AA61475@ux2.cso.uiuc.edu> To: sam-fans@hawkwind.utcs.toronto.edu Subject: AIX mods for 3/12/93 sam Attached is one small patch for compiling 3/12 sam on AIX 3.2. It seems both AIX and HPUX only define these symbols under -D_XOPEN_SOURCE. But using that flag in the Makefiles led to other problems. Ed =============================================================================== *** samterm/unix.c- Mon Mar 15 08:49:25 1993 --- samterm/unix.c Mon Mar 15 09:56:47 1993 *************** *** 15,20 **** --- 15,25 ---- #define S_IFIFO _IFIFO #endif + #ifdef AIX + #define S_IFMT _S_IFMT + #define S_IFIFO _S_IFIFO + #endif + #if defined(UMIPS) || defined(SUNOS) #define atexit(p) /* sigh */ #endif