# HG changeset patch # User Karl Heuer # Date 766437108 0 # Node ID 8b9decfed36fe4a5dd74cd119ef1015b8de0f658 # Parent a39caeb887216fd85703cb026e3db94cadc7cbfc (C_SWITCH_X_MACHINE): add -DNeedVarargsProrotypes=0. diff -r a39caeb88721 -r 8b9decfed36f src/m/pmax.h --- a/src/m/pmax.h Fri Apr 15 01:04:26 1994 +0000 +++ b/src/m/pmax.h Fri Apr 15 19:11:48 1994 +0000 @@ -78,7 +78,12 @@ Using the MIT X11 distribution instead of the one provided by Dec will also solve the problem, but I doubt you can convince everyone to do this. */ -#define C_SWITCH_X_MACHINE -DNeedFunctionPrototypes=0 +/* Addendum: the MIT X11 distribution neglects to define certain symbols + when NeedFunctionPrototypes is 0, but still tries to use them when + NeedVarargsProrotypes is 1 (which is its default value). So if we're + going to disable non-variadic prototypes, we also need to disable + variadic prototypes. --kwzh@gnu.ai.mit.edu */ +#define C_SWITCH_X_MACHINE -DNeedFunctionPrototypes=0 -DNeedVarargsPrototypes=0 /* Enable a fix in process.c. */ #define SET_CHILD_PTY_PGRP