summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/smallprint.c
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2001-05-04 20:39:38 +0000
committerChristopher Faylor <me@cgf.cx>2001-05-04 20:39:38 +0000
commit17743fbc49ebb23300e0a36d8c5a27ed63e2bf41 (patch)
tree5ac0733972c757a0b3b75229f419add2a0a33902 /winsup/cygwin/smallprint.c
parent8b3bcfbab9d0a96b133d6076971ea11bfd52e288 (diff)
downloadcygnal-17743fbc49ebb23300e0a36d8c5a27ed63e2bf41.tar.gz
cygnal-17743fbc49ebb23300e0a36d8c5a27ed63e2bf41.tar.bz2
cygnal-17743fbc49ebb23300e0a36d8c5a27ed63e2bf41.zip
* exceptions.cc (ctrl_c_handler): Always send signal to process if it has no
tty.
Diffstat (limited to 'winsup/cygwin/smallprint.c')
-rw-r--r--winsup/cygwin/smallprint.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/smallprint.c b/winsup/cygwin/smallprint.c
index ac90df3d8..54ae9b0a8 100644
--- a/winsup/cygwin/smallprint.c
+++ b/winsup/cygwin/smallprint.c
@@ -12,6 +12,7 @@ details. */
#include <stdarg.h>
#include <stdlib.h>
#include <ctype.h>
+#define WIN32_LEAN_AND_MEAN
#include <windows.h>
int __small_sprintf (char *dst, const char *fmt,...);