diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/print.c | 10 |
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 | ||