]> git.eshelyaron.com Git - emacs.git/commitdiff
(C_SWITCH_X_MACHINE): add -DNeedVarargsProrotypes=0.
authorKarl Heuer <kwzh@gnu.org>
Fri, 15 Apr 1994 19:11:48 +0000 (19:11 +0000)
committerKarl Heuer <kwzh@gnu.org>
Fri, 15 Apr 1994 19:11:48 +0000 (19:11 +0000)
src/m/pmax.h

index b3d8dc0df6672a2ea78941038e635228cf825394..fcead9e6a78def1cfe16c0c42b8ec3873bd53bd9 100644 (file)
@@ -78,7 +78,12 @@ NOTE-END  */
 
    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