🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
1 messages
1 total messages Started by Alan Stebbens Fri, 26 Apr 1991 01:49
Re: nn 6.4 m-rs6000.h on AIX 3.1?
#1602
Author: Alan Stebbens
Date: Fri, 26 Apr 1991 01:49
72 lines
2419 bytes
In <26546@hydra.gatech.EDU> gs26@prism.gatech.EDU (Glenn R. Stone) writes:

>Has anyone taken the trouble to come up with an m-rs6000.h file for 
>nn 6.4?  I'd rather not do it myself if somebody already has.... 
>I'm running AIX 3.1/3002, if it makes a difference (and if it does,
>I'll be running 3005 in a week or so....)

These work for me.

conf/m-rs6000.h:
============================= cut here ===================================
/************** Machine (and compiler) dependent definitions. **************
 *
 *	For IBM RISC/6000
 *	From: Alan K. Stebbens <aks@hub.ucsb.edu>
 */

/*      MACHINE TYPE	DEFINED TYPE		VALUE RANGE	*/

typedef unsigned char	int8;		/*        0 ..     255 */
typedef short		int16;		/*  -10,000 ..  10,000 */
typedef long		int32;		/* -100,000 .. 100,000 */
typedef unsigned long	uint32;		/* 	  0 ..  2^31-1 */

#define NETWORK_BYTE_ORDER	/* */
============================= cut here ===================================

conf/s-aix3-1.h:
============================= cut here ===================================
/*
 *	This version is for AIX 3.1
 *	From: Alan Stebbens <aks@hub.ucsb.edu>
 */

#include "s-sys5.h"

/*
 *	Define if your system has BSD like job control (SIGTSTP works)
 */

#define HAVE_JOBCONTROL			/* */

/*
 *    AIX does have void signal handlers
 */

/* #undef	SIGNAL_HANDLERS_ARE_VOID */

/*
 *	Define HAVE_GETHOSTNAME if your system provides a BSD like
 *	gethostname routine.
 */

#ifdef	HAVE_UNAME
#undef  HAVE_UNAME
#endif

#ifndef	HAVE_GETHOSTNAME
#define	HAVE_GETHOSTNAME
#endif
============================= cut here ===================================

Good luck.

Alan Stebbens <aks@hub.ucsb.edu>
--

Alan Stebbens

--

Alan Stebbens
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads