emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/print.c


From: Kim F. Storm
Subject: [Emacs-diffs] Changes to emacs/src/print.c
Date: Tue, 25 Nov 2003 04:48:15 -0500

Index: emacs/src/print.c
diff -c emacs/src/print.c:1.194 emacs/src/print.c:1.195
*** emacs/src/print.c:1.194     Sun Nov 23 16:28:24 2003
--- emacs/src/print.c   Tue Nov 25 04:48:15 2003
***************
*** 911,916 ****
--- 911,924 ----
    return character;
  }
  
+ 
+ #if defined(GNU_LINUX)
+ 
+ /* This functionality is not vitally important in general, so we rely on
+    non-portable ability to use stderr as lvalue.  */
+ 
+ #define WITH_REDIRECT_DEBUGGING_OUTPUT 1
+ 
  FILE *initial_stderr_stream = NULL;
  
  DEFUN ("redirect-debugging-output", Fredirect_debugging_output, 
Sredirect_debugging_output,
***************
*** 943,948 ****
--- 951,958 ----
      }
    return Qnil;
  }
+ #endif /* GNU_LINUX */
+ 
  
  /* This is the interface for debugging printing.  */
  
***************
*** 2197,2203 ****
--- 2207,2215 ----
    defsubr (&Sterpri);
    defsubr (&Swrite_char);
    defsubr (&Sexternal_debugging_output);
+ #ifdef WITH_REDIRECT_DEBUGGING_OUTPUT
    defsubr (&Sredirect_debugging_output);
+ #endif
  
    Qexternal_debugging_output = intern ("external-debugging-output");
    staticpro (&Qexternal_debugging_output);




reply via email to

[Prev in Thread] Current Thread [Next in Thread]