aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1997-09-12 04:06:46 +0000
committerRichard M. Stallman1997-09-12 04:06:46 +0000
commitcd22039d5bc3c5036cc3e4457045de6a92a3ad42 (patch)
tree0c9a269f9c79a64ea8ee0efeb7492e5ad1cd3dd1 /src
parent3ef477b92d71da506002fd26d8b56afb36a4d692 (diff)
downloademacs-cd22039d5bc3c5036cc3e4457045de6a92a3ad42.tar.gz
emacs-cd22039d5bc3c5036cc3e4457045de6a92a3ad42.zip
(Fexternal_debugging_output): On Windows output to debugger.
Diffstat (limited to 'src')
-rw-r--r--src/print.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/print.c b/src/print.c
index 67b30802f94..d1c310ec246 100644
--- a/src/print.c
+++ b/src/print.c
@@ -731,7 +731,15 @@ to make it write to the debugging output.\n")
731{ 731{
732 CHECK_NUMBER (character, 0); 732 CHECK_NUMBER (character, 0);
733 putc (XINT (character), stderr); 733 putc (XINT (character), stderr);
734 734
735#ifdef WINDOWSNT
736 /* Send the output to a debugger (nothing happens if there isn't one). */
737 {
738 char buf[2] = {(char) XINT (character), '\0'};
739 OutputDebugString (buf);
740 }
741#endif
742
735 return character; 743 return character;
736} 744}
737 745