# HG changeset patch # User Richard M. Stallman # Date 772400413 0 # Node ID 4f81ed3b48ba64524a2597feccad53afaf1e46c1 # Parent ba1bbdb8595e7704948cd0f8cd8434cf6c389012 (LIBS_MACHINE, GETPGRP_NO_ARG): Defined. (NLIST_NAME_UNION, DECLARE_GETPWUID_WITH_UID_T): Defined. (CRT0_DUMMIES): Conditionalize according to __GNUC__. (convex): Define if necessary. (C_SWITCH_MACHINE): Definition deleted. diff -r ba1bbdb8595e -r 4f81ed3b48ba src/m/convex.h --- a/src/m/convex.h Thu Jun 23 19:39:22 1994 +0000 +++ b/src/m/convex.h Thu Jun 23 19:40:13 1994 +0000 @@ -1,4 +1,4 @@ -/* machine description file for convex C1. +/* machine description file for Convex (all models). Copyright (C) 1987, 1994 Free Software Foundation, Inc. This file is part of GNU Emacs. @@ -46,21 +46,25 @@ * to be corrected before they can be used as byte counts. */ /* #define WORD_MACHINE */ - + /* Now define a symbol for the cpu type, if your compiler does not define it automatically. */ - -/* convex already defined... */ +#ifndef convex /* The compiler doesn't always do this. */ +#define convex +#endif /* Use type int rather than a union, to represent Lisp_Object */ /* This is desirable for most machines. */ #define NO_UNION_TYPE -/* crt0.c should use the vax-bsd style of entry. - Ralph Sobek says must ignore one arg. */ - +#ifndef __GNUC__ /* David M. Cooke + and Ralph Sobek agree + must ignore one arg when compiled with convex compiler. */ #define CRT0_DUMMIES ignore, +#else +#define CRT0_DUMMIES +#endif /* crt0.c should define a symbol `start' and do .globl with a dot. */ @@ -131,7 +135,6 @@ /* Posix stuff for Convex OS 8.1 and up. */ -#define C_SWITCH_MACHINE -pcc #define LD_SWITCH_MACHINE \ -e__start -L /usr/lib \ '-A__iob=___ap$$iob' '-A_use_libc_sema=___ap$$use_libc_sema' @@ -167,3 +170,15 @@ #define LD_SWITCH_MACHINE -X -NL -fn -Enoposix -A__iob=___ap\$$iob \ -A_use_libc_sema=___ap\$$use_libc_sema -L /usr/lib #endif + +/* Avoid error in xrdb.c - d.m.cooke@larc.nasa.gov. */ +#define DECLARE_GETPWUID_WITH_UID_T + +/* Call getpgrp properly. */ +#define GETPGRP_NO_ARG + +/* Tested for both Convex C and GNUC by d.m.cooke@larc.nasa.gov. */ +#define LIBS_MACHINE -lC2 + +/* Avoid error in getloadavg.c. */ +#define NLIST_NAME_UNION 1