aboutsummaryrefslogtreecommitdiffstats
path: root/src/m
diff options
context:
space:
mode:
authorKarl Heuer1994-04-15 19:11:48 +0000
committerKarl Heuer1994-04-15 19:11:48 +0000
commit0f800451f90fa04c6ad51c2dc17ffd5ecc273abd (patch)
tree1415b90cd2e6733f26b13f3972f99e6c72b33778 /src/m
parent0fe4741d0b1c45961648518aaf03aa55f977fb78 (diff)
downloademacs-0f800451f90fa04c6ad51c2dc17ffd5ecc273abd.tar.gz
emacs-0f800451f90fa04c6ad51c2dc17ffd5ecc273abd.zip
(C_SWITCH_X_MACHINE): add -DNeedVarargsProrotypes=0.
Diffstat (limited to 'src/m')
-rw-r--r--src/m/pmax.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/m/pmax.h b/src/m/pmax.h
index b3d8dc0df66..fcead9e6a78 100644
--- a/src/m/pmax.h
+++ b/src/m/pmax.h
@@ -78,7 +78,12 @@ NOTE-END */
78 78
79 Using the MIT X11 distribution instead of the one provided by Dec will 79 Using the MIT X11 distribution instead of the one provided by Dec will
80 also solve the problem, but I doubt you can convince everyone to do this. */ 80 also solve the problem, but I doubt you can convince everyone to do this. */
81#define C_SWITCH_X_MACHINE -DNeedFunctionPrototypes=0 81/* Addendum: the MIT X11 distribution neglects to define certain symbols
82 when NeedFunctionPrototypes is 0, but still tries to use them when
83 NeedVarargsProrotypes is 1 (which is its default value). So if we're
84 going to disable non-variadic prototypes, we also need to disable
85 variadic prototypes. --kwzh@gnu.ai.mit.edu */
86#define C_SWITCH_X_MACHINE -DNeedFunctionPrototypes=0 -DNeedVarargsPrototypes=0
82 87
83/* Enable a fix in process.c. */ 88/* Enable a fix in process.c. */
84#define SET_CHILD_PTY_PGRP 89#define SET_CHILD_PTY_PGRP